]> git.ipfire.org Git - thirdparty/git.git/commit - hashmap.h
hashmap_get takes "const struct hashmap_entry *"
authorEric Wong <e@80x24.org>
Sun, 6 Oct 2019 23:30:30 +0000 (23:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Oct 2019 01:20:10 +0000 (10:20 +0900)
commitb6c5241606e67b57470e86ccf547d4ab90008a1d
tree1c038790abd92afde1f8a256c2f0ac37ec19f69c
parentb94e5c1df674eb4ec8fdeaaae1ad8df552cb5d70
hashmap_get 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>
14 files changed:
attr.c
blame.c
builtin/difftool.c
builtin/fast-export.c
config.c
diff.c
hashmap.c
hashmap.h
merge-recursive.c
name-hash.c
patch-ids.c
revision.c
sub-process.c
submodule-config.c