]> git.ipfire.org Git - thirdparty/git.git/commit
hashmap_get_next takes "const struct hashmap_entry *"
authorEric Wong <e@80x24.org>
Sun, 6 Oct 2019 23:30:28 +0000 (23:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Oct 2019 01:20:10 +0000 (10:20 +0900)
commitf6eb6bdcf2719defc3d38e0e2712fa3e18d29e91
treec66cbc464d075f07fedf1ab338a33fbc66c46638
parentd22245a2e360d2e708ca37169be8eb5a5899b98d
hashmap_get_next takes "const struct hashmap_entry *"

This is less error-prone than "const void *" as the compiler
now detects invalid types being passed.

Signed-off-by: Eric Wong <e@80x24.org>
Reviewed-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
diffcore-rename.c
hashmap.c
hashmap.h
name-hash.c
t/helper/test-hashmap.c