summaryrefslogtreecommitdiff
path: root/rerere.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-07-08 10:09:28 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-08 10:11:36 -0700
commit54307ea7c3ced760ee375483a786ec7180798aed (patch)
tree989d4ee64a7abae2833d07a3ab4eccc127eded92 /rerere.c
parentavoid using sha1_to_hex output as printf format (diff)
downloadtgif-54307ea7c3ced760ee375483a786ec7180798aed.tar.xz
commit.c: remove print_commit_list()
The helper function tries to offer a way to conveniently show the last one differently from others, presumably to allow you to say something like A, B, and C. while iterating over a list that has these three elements. However, there is only one caller, and it passes the same format string "%s\n" for both the last one and the other ones. Retire the helper function and update the caller with a simplified version. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rerere.c')
0 files changed, 0 insertions, 0 deletions