diff options
author | Kirill Smelkov <kirr@mns.spb.ru> | 2014-02-05 20:57:10 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-02-05 10:49:07 -0800 |
commit | 0b707c3319f37f2ec3700638d62f3199af40c138 (patch) | |
tree | c7b2c89c8fb5f3ded3b64f969dc0ed2408728fa4 /test-prio-queue.c | |
parent | tree-diff: allow diff_tree_sha1 to accept NULL sha1 (diff) | |
download | tgif-0b707c3319f37f2ec3700638d62f3199af40c138.tar.xz |
tree-diff: convert diff_root_tree_sha1() to just call diff_tree_sha1 with old=NULL
Now since diff_tree_sha1 understands NULL for both old and new, we could
indicate an empty tree for root commit by providing just NULL for old
sha1.
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-prio-queue.c')
0 files changed, 0 insertions, 0 deletions