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 /builtin/commit-tree.c | |
parent | 3013dff8662eae06457fe6e5348dfe2270810ab2 (diff) |
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/commit-tree.c')
0 files changed, 0 insertions, 0 deletions