diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-11-25 09:02:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-25 10:11:34 -0800 |
commit | 3383e199847485fedf83d0fa38bbd5363074093a (patch) | |
tree | 1d64f0f698700acaf614127451ece7ce0afb4cc0 /builtin/receive-pack.c | |
parent | 8552943f41373583b5185a9686102251c544c07e (diff) | |
download | git-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/receive-pack.c')
-rw-r--r-- | builtin/receive-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c index 32fc540ef3..d7ce6437f4 100644 --- a/builtin/receive-pack.c +++ b/builtin/receive-pack.c @@ -964,7 +964,7 @@ static void check_aliased_updates(struct command *commands) string_list_append(&ref_list, cmd->ref_name); item->util = (void *)cmd; } - sort_string_list(&ref_list); + string_list_sort(&ref_list); for (cmd = commands; cmd; cmd = cmd->next) { if (!cmd->error_string) |