summaryrefslogtreecommitdiff
path: root/mergesort.c
diff options
context:
space:
mode:
authorLibravatar Teng Long <dyroneteng@gmail.com>2022-03-23 17:13:07 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-23 11:38:39 -0700
commit87af0ddf5f311e9b6e361daaa7fd591a230261a0 (patch)
tree1112af4f653ad1b2b3841ee36a6088d81217d36c /mergesort.c
parentls-tree: rename "retval" to "recurse" in "show_tree()" (diff)
downloadtgif-87af0ddf5f311e9b6e361daaa7fd591a230261a0.tar.xz
ls-tree: simplify nesting if/else logic in "show_tree()"
Use the object_type() function to determine the object type from the "mode" passed to us by read_tree(), instead of doing so with the S_*() macros. Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Teng Long <dyronetengb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mergesort.c')
0 files changed, 0 insertions, 0 deletions