aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-12-28 10:40:58 -0800
committerJunio C Hamano <gitster@pobox.com>2018-12-28 10:40:58 -0800
commitb9fbc04e26fcc2c7ba6dda32512b3726d31e4beb (patch)
treed160a4832769b9f4733c8ecaf93e7eb565a37b2a /cache.h
parentGit 2.20 (diff)
parentt/helper/test-repository: celebrate independence from the_repository (diff)
downloadgit-b9fbc04e26fcc2c7ba6dda32512b3726d31e4beb.tar.gz
git-b9fbc04e26fcc2c7ba6dda32512b3726d31e4beb.zip
Merge branch 'sb/more-repo-in-api' into md/list-objects-filter-by-depth
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index ca36b44ee0..b7acd81d2e 100644
--- a/cache.h
+++ b/cache.h
@@ -1034,6 +1034,8 @@ static inline int hashcmp(const unsigned char *sha1, const unsigned char *sha2)
*
* This will need to be extended or ripped out when we learn about
* hashes of different sizes.
+ *
+ * When ripping this out, see TODO in test-repository.c.
*/
if (the_hash_algo->rawsz != 20)
BUG("hash size not yet supported by hashcmp");