summaryrefslogtreecommitdiffstats
path: root/pack-revindex.c
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2014-02-05 17:57:10 +0100
committerJunio C Hamano <gitster@pobox.com>2014-02-05 19:49:07 +0100
commit0b707c3319f37f2ec3700638d62f3199af40c138 (patch)
treec7b2c89c8fb5f3ded3b64f969dc0ed2408728fa4 /pack-revindex.c
parenttree-diff: allow diff_tree_sha1 to accept NULL sha1 (diff)
downloadgit-0b707c3319f37f2ec3700638d62f3199af40c138.tar.xz
git-0b707c3319f37f2ec3700638d62f3199af40c138.zip
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 'pack-revindex.c')
0 files changed, 0 insertions, 0 deletions