diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-03-29 21:22:02 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-29 21:22:02 +0200 |
commit | 3d8046a820851621b8f195078fcac5b5c38fec86 (patch) | |
tree | 41af42e4a44d1b3210c6af15377f549d31d62423 /attr.c | |
parent | The 15th batch (diff) | |
parent | refs debug: add a wrapper for "read_symbolic_ref" (diff) | |
download | git-3d8046a820851621b8f195078fcac5b5c38fec86.tar.xz git-3d8046a820851621b8f195078fcac5b5c38fec86.zip |
Merge branch 'ab/refs-various-fixes'
Code clean-up.
* ab/refs-various-fixes:
refs debug: add a wrapper for "read_symbolic_ref"
packed-backend: remove stub BUG(...) functions
misc *.c: use designated initializers for struct assignments
refs: use designated initializers for "struct ref_iterator_vtable"
refs: use designated initializers for "struct ref_storage_be"
Diffstat (limited to 'attr.c')
-rw-r--r-- | attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ static int attr_hash_entry_cmp(const void *unused_cmp_data, * Access to this dictionary must be surrounded with a mutex. */ static struct attr_hashmap g_attr_hashmap = { - HASHMAP_INIT(attr_hash_entry_cmp, NULL) + .map = HASHMAP_INIT(attr_hash_entry_cmp, NULL), }; /* |