summaryrefslogtreecommitdiff
path: root/t/helper/test-hashmap.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-07-30 16:18:16 -0700
committerJunio C Hamano <gitster@pobox.com>2025-07-30 16:19:36 -0700
commit9b0781196a0fb7c7631b1fbaf5898e5f87a5f1bd (patch)
tree26949358a88ee3f67a9dbfcc4bb13199b0473873 /t/helper/test-hashmap.c
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77 (diff)
test-hashmap: document why it is no longer used but still there
As I ended up wasting a few dozen minutes looking for the reason why this is still here, help future developers by saving them from wasting their time by documenting why this code that apparently is not used by anybody is still here. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-hashmap.c')
-rw-r--r--t/helper/test-hashmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/helper/test-hashmap.c b/t/helper/test-hashmap.c
index 7782ae585e..16a3145c3a 100644
--- a/t/helper/test-hashmap.c
+++ b/t/helper/test-hashmap.c
@@ -137,6 +137,11 @@ static void perf_hashmap(unsigned int method, unsigned int rounds)
* Read stdin line by line and print result of commands to stdout:
*
* perfhashmap method rounds -> test hashmap.[ch] performance
+ *
+ * NOTE: this is not used by any of our mechanized build & test
+ * procedure, after 3469a236 (t: port helper/test-hashmap.c to
+ * unit-tests/t-hashmap.c, 2024-08-03). See the log message of that
+ * commit for the reason why this is still here.
*/
int cmd__hashmap(int argc UNUSED, const char **argv UNUSED)
{