]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/show-index: replace sha1_to_hex
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 20:04:26 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Aug 2019 22:04:59 +0000 (15:04 -0700)
commitbe8e172e9f4f62c9e4cdbecb5cd667775f38d4f1
tree411fac23344cd619dd87b8dbdfa9c8a832f28fc6
parent3f34d70d4029c420d0db82fc39e77da4470eb3cc
builtin/show-index: replace sha1_to_hex

In this code path, we use sha1_to_hex to display the contents of a v1
pack index.  While we plan to switch to v3 indices for SHA-256, the v1
pack indices still function, so to support both algorithms, switch
sha1_to_hex to hash_to_hex.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/show-index.c