]> git.ipfire.org Git - thirdparty/git.git/commit - attr.c
hashmap_add takes "struct hashmap_entry *"
authorEric Wong <e@80x24.org>
Sun, 6 Oct 2019 23:30:29 +0000 (23:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Oct 2019 01:20:10 +0000 (10:20 +0900)
commitb94e5c1df674eb4ec8fdeaaae1ad8df552cb5d70
tree81566486743a5dafb2dddaf09de597529223f315
parentf6eb6bdcf2719defc3d38e0e2712fa3e18d29e91
hashmap_add takes "struct hashmap_entry *"

This is less error-prone than "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>
20 files changed:
attr.c
blame.c
builtin/describe.c
builtin/difftool.c
builtin/fetch.c
config.c
diff.c
diffcore-rename.c
hashmap.c
hashmap.h
merge-recursive.c
name-hash.c
packfile.c
patch-ids.c
range-diff.c
ref-filter.c
sequencer.c
sub-process.c
submodule-config.c
t/helper/test-hashmap.c