]> git.ipfire.org Git - thirdparty/git.git/commit
hex: print objects using the hash algorithm member
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 26 Apr 2021 01:03:01 +0000 (01:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Apr 2021 07:31:39 +0000 (16:31 +0900)
commit3dd71461e25b4cc7ea2a2d8deef1c0486bb32580
treecf8b9de174d76c8dcfe6c5a0156e721588c33752
parentb8505ecbf2b1e4ef27b9597fd113cb1679792b29
hex: print objects using the hash algorithm member

Now that all code paths correctly set the hash algorithm member of
struct object_id, write an object's hex representation using the hash
algorithm member embedded in it.

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