summaryrefslogtreecommitdiff
path: root/builtin/repack.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-11-25 09:02:35 +0100
committerJunio C Hamano <gitster@pobox.com>2014-11-25 10:11:34 -0800
commit3383e199847485fedf83d0fa38bbd5363074093a (patch)
tree1d64f0f698700acaf614127451ece7ce0afb4cc0 /builtin/repack.c
parent8552943f41373583b5185a9686102251c544c07e (diff)
downloadgit-3383e199847485fedf83d0fa38bbd5363074093a.tar.gz
sort_string_list(): rename to string_list_sort()mh/simplify-repack-without-refs
The new name is more consistent with the names of other string_list-related functions. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/repack.c')
-rw-r--r--builtin/repack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/repack.c b/builtin/repack.c
index 28456206c5..0705d6802f 100644
--- a/builtin/repack.c
+++ b/builtin/repack.c
@@ -379,7 +379,7 @@ int cmd_repack(int argc, const char **argv, const char *prefix)
if (delete_redundant) {
int opts = 0;
- sort_string_list(&names);
+ string_list_sort(&names);
for_each_string_list_item(item, &existing_packs) {
char *sha1;
size_t len = strlen(item->string);