summaryrefslogtreecommitdiff
path: root/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-11-11 20:02:20 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-11 12:55:27 -0800
commitb19315d8ab46ae50410dba9228a4c08ae5c73e38 (patch)
treef473f15041b2f515f50aacdda428825e884eb18d /GIT-VERSION-GEN
parentstrmap: take advantage of FLEXPTR_ALLOC_STR when relevant (diff)
downloadtgif-b19315d8ab46ae50410dba9228a4c08ae5c73e38.tar.xz
Use new HASHMAP_INIT macro to simplify hashmap initialization
Now that hashamp has lazy initialization and a HASHMAP_INIT macro, hashmaps allocated on the stack can be initialized without a call to hashmap_init() and in some cases makes the code a bit shorter. Convert some callsites over to take advantage of this. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions