Skip to content

Commit 9b07811

Browse files
committed
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 <[email protected]>
1 parent 16bd9f2 commit 9b07811

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/helper/test-hashmap.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ static void perf_hashmap(unsigned int method, unsigned int rounds)
137137
* Read stdin line by line and print result of commands to stdout:
138138
*
139139
* perfhashmap method rounds -> test hashmap.[ch] performance
140+
*
141+
* NOTE: this is not used by any of our mechanized build & test
142+
* procedure, after 3469a236 (t: port helper/test-hashmap.c to
143+
* unit-tests/t-hashmap.c, 2024-08-03). See the log message of that
144+
* commit for the reason why this is still here.
140145
*/
141146
int cmd__hashmap(int argc UNUSED, const char **argv UNUSED)
142147
{

0 commit comments

Comments
 (0)