We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 422cae6 + 88fb80c commit d1c983dCopy full SHA for d1c983d
1 file changed
builtin/sparse-checkout.c
@@ -94,8 +94,7 @@ static int sparse_checkout_list(int argc, const char **argv, const char *prefix,
94
string_list_append(&sl, pe->pattern + 1);
95
}
96
97
- string_list_sort(&sl);
98
- string_list_remove_duplicates(&sl, 0);
+ string_list_sort_u(&sl, 0);
99
100
for (i = 0; i < sl.nr; i++) {
101
quote_c_style(sl.items[i].string, NULL, stdout, 0);
0 commit comments