aboutsummaryrefslogtreecommitdiff
path: root/branch.c
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2014-02-05 20:57:10 +0400
committerJunio C Hamano <gitster@pobox.com>2014-02-05 10:49:07 -0800
commit0b707c3319f37f2ec3700638d62f3199af40c138 (patch)
treec7b2c89c8fb5f3ded3b64f969dc0ed2408728fa4 /branch.c
parent791303284cb3ede61729e33112d6923df406161f (diff)
downloadgit-0b707c3319f37f2ec3700638d62f3199af40c138.tar.gz
git-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 'branch.c')
0 files changed, 0 insertions, 0 deletions