summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2014-03-27 18:21:29 +0400
committerJunio C Hamano <gitster@pobox.com>2014-03-27 11:50:29 -0700
commitb9081a657446ac2c5e2129de183edb41d4b4f4fb (patch)
tree5c18623bcde16212dd57211c15774e3767c93752 /diff.c
parent52894e70951518e44c064cef2561aed38202fd36 (diff)
downloadgit-b9081a657446ac2c5e2129de183edb41d4b4f4fb.tar.gz
tree-diff: no need to call "full" diff_tree_sha1 from show_path()
As described in previous commit, when recursing into sub-trees, we can use lower-level tree walker, since its interface is now sha1 based. The change is ok, because diff_tree_sha1() only invokes ll_diff_tree_sha1(), and also, if base is empty, try_to_follow_renames(). But base is not empty here, as we have added a path and '/' before recursing. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions