summaryrefslogtreecommitdiff
path: root/builtin/gc.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2019-07-29 13:08:16 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-07-29 14:51:43 -0700
commitb91408400757d021b10876c36280ef891b502420 (patch)
tree6b4ea0abb3d5b266b65d06bfc2f9efe67bcf0382 /builtin/gc.c
parentbin-wrappers: append `.exe` to target paths if necessary (diff)
downloadtgif-b91408400757d021b10876c36280ef891b502420.tar.xz
git: avoid calling aliased builtins via their dashed form
This is one of the few places where Git violates its own deprecation of the dashed form. It is not necessary, either. As of 595d59e2b53 (git.c: ignore pager.* when launching builtin as dashed external, 2017-08-02), Git wants to ignore the pager.* config setting when expanding aliases. So let's strip out the check_pager_config(<command-name>) call from the copy-edited code. This code actually made it into upstream git.git already, but it was disabled in `#if 0 ... #endif` guards so far. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/gc.c')
0 files changed, 0 insertions, 0 deletions