diff options
| author | Kirill Smelkov <kirr@mns.spb.ru> | 2014-02-03 16:47:19 +0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-02-24 14:46:11 -0800 |
| commit | 51af1886c73f12b1e020db1aa03525e2d74bed93 (patch) | |
| tree | 03ad8f172d72fdf21f5d2203196ee152385e5d4a /tree-diff.c | |
| parent | tests: add checking that combine-diff emits only correct paths (diff) | |
| download | git-51af1886c73f12b1e020db1aa03525e2d74bed93.tar.gz git-51af1886c73f12b1e020db1aa03525e2d74bed93.zip | |
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 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions
