OSDN Git Service
(root)
/
git-core
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sane_grep: pass "-a" if grep accepts it
[git-core/git.git]
/
git-sh-setup.sh
diff --git
a/git-sh-setup.sh
b/git-sh-setup.sh
index
4691fbc
..
c48139a
100644
(file)
--- a/
git-sh-setup.sh
+++ b/
git-sh-setup.sh
@@
-168,11
+168,11
@@
git_pager() {
}
sane_grep () {
- GREP_OPTIONS= LC_ALL=C grep "$@"
+ GREP_OPTIONS= LC_ALL=C grep
@@SANE_TEXT_GREP@@
"$@"
}
sane_egrep () {
- GREP_OPTIONS= LC_ALL=C egrep "$@"
+ GREP_OPTIONS= LC_ALL=C egrep
@@SANE_TEXT_GREP@@
"$@"
}
is_bare_repository () {