]> git.ipfire.org Git - thirdparty/git.git/commit
hashmap: hashmap_{put,remove} return hashmap_entry *
authorEric Wong <e@80x24.org>
Sun, 6 Oct 2019 23:30:39 +0000 (23:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Oct 2019 01:20:11 +0000 (10:20 +0900)
commit8a973d0bb398d6d83d6c048acecc750d01bd7234
treec4987af10c66582df750927a060b13995dafd84a
parent87571c3f71ba41d89eef5202f8589daa26f984ca
hashmap: hashmap_{put,remove} return hashmap_entry *

And add *_entry variants to perform container_of as necessary
to simplify most callers.

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