diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-21 21:57:58 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-21 16:17:57 -0700 |
commit | 6e3b0348a442afc58ca02259d476732c18ac26d0 (patch) | |
tree | 49680f5b2b598cc78e174e96cfa9aa6cf4151b01 /tempfile.c | |
parent | Makefile: remove $(NO_CURL) from $(SCRIPT_DEFINES) (diff) | |
download | tgif-6e3b0348a442afc58ca02259d476732c18ac26d0.tar.xz |
git-instaweb: unconditionally assume that gitweb is mod_perl capable
Remove a check for whether mod_perl is a supported mode of gitweb.cgi
added in a51d37c1df6 (Add git-instaweb, instantly browse the working
repo with gitweb, 2006-07-01).
The reason for the check was to support users who had a newer version
of git and an older version of gitweb, it was then subsequently
adjusted for changes in the script in f0e588dffc1 (git-instaweb: fix
mod_perl detection for apache2, 2009-08-08).
It's a fair bet that nobody's running a git from 2021 and gitweb from
pre-2007 anymore, so we can unconditionally assume that this will be
supported by gitweb.cgi.
This allows a subsequent commit to remove the sane_grep() wrapper,
this change is split up from that since this is the only case where
the "grep" invocation could be removed entirely.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tempfile.c')
0 files changed, 0 insertions, 0 deletions