hashmap: hashmap_{put,remove} return hashmap_entry *
authorEric Wong <redacted>
Sun, 6 Oct 2019 23:30:39 +0000 (23:30 +0000)
committerJunio C Hamano <redacted>
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 <redacted>
Reviewed-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
hashmap.c
hashmap.h
range-diff.c
remote.c
submodule-config.c
t/helper/test-hashmap.c
git clone https://git.99rst.org/PROJECT