diff options
author | Kirill Smelkov <kirr@mns.spb.ru> | 2014-03-27 18:21:29 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-27 11:50:29 -0700 |
commit | b9081a657446ac2c5e2129de183edb41d4b4f4fb (patch) | |
tree | 5c18623bcde16212dd57211c15774e3767c93752 /t/t4013/diff.whatchanged_-SF_master | |
parent | tree-diff: rework diff_tree interface to be sha1 based (diff) | |
download | tgif-b9081a657446ac2c5e2129de183edb41d4b4f4fb.tar.xz |
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 't/t4013/diff.whatchanged_-SF_master')
0 files changed, 0 insertions, 0 deletions