Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information