summaryrefslogtreecommitdiff
path: root/builtin/reset.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-12-22 15:27:29 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-27 12:28:06 -0800
commite2a5a028c778febb6776da16ab18fb4de79014f0 (patch)
tree58668452c6dd4c0e0432b54a3fc5516cc2056851 /builtin/reset.c
parentPrepare for 2.15.2 (diff)
downloadtgif-e2a5a028c778febb6776da16ab18fb4de79014f0.tar.xz
oidmap: ensure map is initialized
Ensure that an oidmap is initialized before attempting to add, remove, or retrieve an entry by simply performing the initialization step before accessing the underlying hashmap. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reset.c')
0 files changed, 0 insertions, 0 deletions