diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-11-30 02:41:50 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-30 02:41:50 +0300 |
commit | ad1260b6c994f7c0f9c259bd39f39979f7f4ecc2 (patch) | |
tree | 178477065b014826267a1f39a8447a4ac58c0949 /git-sh-setup.sh | |
parent | 49767c3d9f80c916c175adfc745e0823487d9d08 (diff) | |
parent | ebeb39faad6e3a67c31884c3dc6b76ce58b3f15b (diff) |
Merge branch 'ab/sh-retire-helper-functions'
Make a few helper functions unused and then lose them.
* ab/sh-retire-helper-functions:
git-sh-setup: remove "sane_grep", it's not needed anymore
git-sh-setup: remove unused sane_egrep() function
git-instaweb: unconditionally assume that gitweb is mod_perl capable
Makefile: remove $(NO_CURL) from $(SCRIPT_DEFINES)
Makefile: remove $(GIT_VERSION) from $(SCRIPT_DEFINES)
Makefile: move git-SCRIPT-DEFINES adjacent to $(SCRIPT_DEFINES)
Diffstat (limited to 'git-sh-setup.sh')
-rw-r--r-- | git-sh-setup.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 960982f9d5..b93f39288c 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -173,14 +173,6 @@ git_pager() { eval "$GIT_PAGER" '"$@"' } -sane_grep () { - GREP_OPTIONS= LC_ALL=C grep @@SANE_TEXT_GREP@@ "$@" -} - -sane_egrep () { - GREP_OPTIONS= LC_ALL=C egrep @@SANE_TEXT_GREP@@ "$@" -} - is_bare_repository () { git rev-parse --is-bare-repository } |