diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-12-22 21:26:50 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-22 21:26:50 +0100 |
commit | a7ddaa8eacb45fdd5241e52d72e6f75d8b67b953 (patch) | |
tree | 40b4313c9f7eb267405cef8d7f7c925e43e10509 /string-list.h | |
parent | Merge branch 'dw/shell-basename-dashdash-before-stripping-leading-dash-from-l... (diff) | |
parent | sort_string_list(): rename to string_list_sort() (diff) | |
download | git-a7ddaa8eacb45fdd5241e52d72e6f75d8b67b953.tar.xz git-a7ddaa8eacb45fdd5241e52d72e6f75d8b67b953.zip |
Merge branch 'mh/simplify-repack-without-refs'
"git remote update --prune" to drop many refs has been optimized.
* mh/simplify-repack-without-refs:
sort_string_list(): rename to string_list_sort()
prune_remote(): iterate using for_each_string_list_item()
prune_remote(): rename local variable
repack_without_refs(): make the refnames argument a string_list
prune_remote(): sort delete_refs_list references en masse
prune_remote(): initialize both delete_refs lists in a single loop
prune_remote(): exit early if there are no stale references
Diffstat (limited to 'string-list.h')
-rw-r--r-- | string-list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/string-list.h b/string-list.h index 494eb5d95d..2cc5e48427 100644 --- a/string-list.h +++ b/string-list.h @@ -85,7 +85,7 @@ struct string_list_item *string_list_append(struct string_list *list, const char */ struct string_list_item *string_list_append_nodup(struct string_list *list, char *string); -void sort_string_list(struct string_list *list); +void string_list_sort(struct string_list *list); int unsorted_string_list_has_string(struct string_list *list, const char *string); struct string_list_item *unsorted_string_list_lookup(struct string_list *list, const char *string); |