]> git.ipfire.org Git - thirdparty/git.git/commit - git-add--interactive.perl
add--interactive: compute the empty tree value
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 2 May 2018 00:26:09 +0000 (00:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:59:53 +0000 (13:59 +0900)
commit23ec4c51d53f6976bdb54e92487d378f9abd1ed3
treeb6b6ba840472ca79382bc9b9ef13276369bff87b
parent03a7f388dafaee0aa084144efe7a8f9c151e5221
add--interactive: compute the empty tree value

The interactive add script hard-codes the object ID of the empty tree.
To avoid any problems when changing hashes, compute this value when used
and cache it for any future uses.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl