]> git.ipfire.org Git - thirdparty/git.git/commit - merge-recursive.c
hashmap_put takes "struct hashmap_entry *"
authorEric Wong <e@80x24.org>
Sun, 6 Oct 2019 23:30:32 +0000 (23:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Oct 2019 01:20:10 +0000 (10:20 +0900)
commit26b455f21ed7e0c7b0e4e4e69b5ae48545597020
tree0c0a69083353100d2f637322791f4499e8cb27bf
parent28ee7941280828f9e528bd8c5d0f6515a57e0c44
hashmap_put 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>
builtin/fast-export.c
hashmap.c
hashmap.h
merge-recursive.c
oidmap.c
refs.c
remote.c
revision.c
sequencer.c
submodule-config.c
t/helper/test-hashmap.c