summaryrefslogtreecommitdiff
path: root/string-list.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-02-15 11:03:22 -0800
committerJunio C Hamano <gitster@pobox.com>2011-02-15 11:03:22 -0800
commit43f9f053010c119c9836b2b5f8a07c72784f79b6 (patch)
treeeb5f0ccab93ffa12afe8b0d041d1fa3a65f2c14f /string-list.c
parent4e363b11bdc3770efcfe55dac79f6dc18a5e562b (diff)
parent24231e063f0f003f8ffd7b64c7ba6a0baaaa5283 (diff)
Merge branch 'maint'
* maint: pull: do not display fetch usage on --help-all git-tag.txt: list all modes in the description commit,status: describe -u likewise add: describe --patch like checkout, reset commit,merge,tag: describe -m likewise clone,init: describe --template using the same wording commit,status: describe --porcelain just like push commit,tag: use same wording for -F configure: use AC_LANG_PROGRAM consistently string_list_append: always set util pointer to NULL correct type of EMPTY_TREE_SHA1_BIN
Diffstat (limited to 'string-list.c')
-rw-r--r--string-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string-list.c b/string-list.c
index 9b023a2584..51681189e8 100644
--- a/string-list.c
+++ b/string-list.c
@@ -153,6 +153,7 @@ struct string_list_item *string_list_append(struct string_list *list, const char
ALLOC_GROW(list->items, list->nr + 1, list->alloc);
list->items[list->nr].string =
list->strdup_strings ? xstrdup(string) : (char *)string;
+ list->items[list->nr].util = NULL;
return list->items + list->nr++;
}