We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 028fc0f + 7fa5521 commit f5fc79eCopy full SHA for f5fc79e
git.c
@@ -119,7 +119,7 @@ static int list_cmds(const char *spec)
119
}
120
for (size_t i = 0; i < list.nr; i++)
121
puts(list.items[i].string);
122
- string_list_clear(&list, 0);
+ string_list_clear(&list, 1);
123
return 0;
124
125
help.c
@@ -422,7 +422,7 @@ void list_cmds_by_config(struct string_list *list)
422
if (repo_config_get_string_tmp(the_repository, "completion.commands", &cmd_list))
423
return;
424
425
- string_list_sort_u(list, 0);
+ string_list_sort_u(list, 1);
426
427
while (*cmd_list) {
428
struct strbuf sb = STRBUF_INIT;
0 commit comments