strmap: split create_entry() out of strmap_put()
commit6abd22065ccbec054db5af85296dd1167c670eda
authorElijah Newren <newren@gmail.com>
Fri, 6 Nov 2020 00:24:53 +0000 (6 00:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Nov 2020 17:33:35 +0000 (6 09:33 -0800)
tree84a09ebbf2e3c343956349d5fc241384f059fcca
parent4fa1d501f775253fe70bf6c6a00fe8156c8c61c7
strmap: split create_entry() out of strmap_put()

This will facilitate adding entries to a strmap subtype in ways that
differ slightly from that of strmap_put().

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
strmap.c