Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Ignore more generated files.
[gitweb.git]
/
git-grep.sh
diff --git
a/git-grep.sh
b/git-grep.sh
index 51924fd7c38a4fd70f59069a3eecbfe787626375..e7a35ebd707c6ef485a26f4e1ece57fa248e0106 100755
(executable)
--- 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"