summaryrefslogtreecommitdiff
path: root/git-grep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-grep.sh')
-rwxr-xr-xgit-grep.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-grep.sh b/git-grep.sh
index 51924fd7c3..e7a35ebd70 100755
--- a/git-grep.sh
+++ b/git-grep.sh
@@ -40,4 +40,4 @@ while : ; do
shift
done
git-ls-files -z "${git_flags[@]}" "$@" |
- xargs -0 grep "${flags[@]}" "$pattern"
+ xargs -0 grep "${flags[@]}" -e "$pattern"