summaryrefslogtreecommitdiff
path: root/config.mak.in
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-23 17:13:04 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-23 11:38:39 -0700
commit26f6d4d5a015ae95b0818140b6edf297e78e4e67 (patch)
tree300812995147b87c88f69aa5d236c3e2410dea26 /config.mak.in
parentls-tree: add missing braces to "else" arms (diff)
downloadtgif-26f6d4d5a015ae95b0818140b6edf297e78e4e67.tar.xz
ls-tree: use "enum object_type", not {blob,tree,commit}_type
Change the ls-tree.c code to use type_name() on the enum instead of using the string constants. This doesn't matter either way for performance, but makes this a bit easier to read as we'll no longer need a strcmp() here. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.in')
0 files changed, 0 insertions, 0 deletions