summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2014-02-03 16:47:19 +0400
committerJunio C Hamano <gitster@pobox.com>2014-02-24 14:46:11 -0800
commit51af1886c73f12b1e020db1aa03525e2d74bed93 (patch)
tree03ad8f172d72fdf21f5d2203196ee152385e5d4a /trace.c
parentfce135c4ffc87f85e1c3b5c57a6d9e1abdbd074d (diff)
downloadgit-51af1886c73f12b1e020db1aa03525e2d74bed93.tar.gz
combine-diff: move show_log_first logic/action out of paths scanning
Judging from sample outputs and tests nothing changes in diff -c output, and this change will help later patches, when we'll be refactoring paths scanning into its own function with several variants - the show_log_first logic / code will stay common to all of them. NOTE: only now we have to take care to explicitly not show anything if parents array is empty, as in fact there are some clients in Git code, which calls diff_tree_combined() in such a way. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.c')
0 files changed, 0 insertions, 0 deletions