sort_string_list(): rename to string_list_sort()
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>
This commit is contained in:
committed by
Junio C Hamano
parent
8552943f41
commit
3383e19984
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user