diff options
author | Brandon Williams <bmwill@google.com> | 2017-12-22 15:27:29 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-27 12:28:06 -0800 |
commit | e2a5a028c778febb6776da16ab18fb4de79014f0 (patch) | |
tree | 58668452c6dd4c0e0432b54a3fc5516cc2056851 /help.c | |
parent | Prepare for 2.15.2 (diff) | |
download | tgif-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 'help.c')
0 files changed, 0 insertions, 0 deletions