summaryrefslogtreecommitdiff
path: root/git-gui/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-02-16 01:00:35 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-15 18:00:50 -0800
commitb8db6ed8265fc44ebf7163a17600162f25df6de0 (patch)
tree584b60976bc3988c502546c0cbbb0ed888ea6066 /git-gui/GIT-VERSION-GEN
parentbuilt-ins: trust the "prefix" from run_builtin() (diff)
downloadtgif-b8db6ed8265fc44ebf7163a17600162f25df6de0.tar.xz
grep.c: don't pass along NULL callback value
Change grep_cmd_config() to stop passing around the always-NULL "cb" value. When this code was added in 7e8f59d577e (grep: color patterns in output, 2009-03-07) it was non-NULL, but when that changed in 15fabd1bbd4 (builtin/grep.c: make configuration callback more reusable, 2012-10-09) this code was left behind. In a subsequent change I'll start using the "cb" value, this will make it clear which functions we call need it, and which don't. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions