]> git.ipfire.org Git - thirdparty/git.git/commit
hard-code the empty tree object
authorJeff King <peff@peff.net>
Wed, 13 Feb 2008 11:25:04 +0000 (06:25 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Feb 2008 21:44:17 +0000 (13:44 -0800)
commit346245a1bb6272dd370ba2f7b9bf86d3df5fed9a
tree96aef73bb331d94b46d0d6c70d364df74ae77cc9
parent6c47d0e8f3983cff5bf633cb8e6f7ecfecf48db7
hard-code the empty tree object

Now any commands may reference the empty tree object by its
sha1 (4b825dc642cb6eb9a060e54bf8d69288fbee4904). This is
useful for showing some diffs, especially for initial
commits.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c