]> git.ipfire.org Git - thirdparty/git.git/commit - alloc.h
Merge branch 'jc/retire-get-sha1-hex'
authorJunio C Hamano <gitster@pobox.com>
Fri, 4 Aug 2023 17:52:30 +0000 (10:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Aug 2023 17:52:30 +0000 (10:52 -0700)
commit3365e2675e5ac95e0a44665966e8cfbb9433456e
tree634776d7ea6a0145f95ae84e1b9f1c651387a37e
parentdd68b57fc404e9117385879460a63a25f8b3c354
parent08e5fb1296238c9c4468ae2cfbd7a49045159c60
Merge branch 'jc/retire-get-sha1-hex'

The implementation of "get_sha1_hex()" that reads a hexadecimal
string that spells a full object name has been extended to cope
with any hash function used in the repository, but the "sha1" in
its name survived.  Rename it to get_hash_hex(), a name that is
more consistent within its friends like get_hash_hex_algop().

* jc/retire-get-sha1-hex:
  hex: retire get_sha1_hex()
packfile.c
rerere.c