Merge branch 'sb/more-repo-in-api' into md/list-objects-filter-by-depth
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index ca36b44ee0b5851f837616c322a201ac420a90d2..b7acd81d2e077c430ac3c3f19a118db2251d423e 100644 (file)
--- 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");