git/t/unit-tests
Amisha Chhajed 2e711acfbd string-list: add string_list_sort_u() that mimics "sort -u"
Many callsites of string_list_remove_duplicates() call it
immdediately after calling string_list_sort(), understandably
as the former requires string-list to be sorted, it is clear
that these places are sorting only to remove duplicates and
for no other reason.

Introduce a helper function string_list_sort_u that combines
these two calls that often appear together, to simplify
these callsites. Replace the current calls of those methods with
string_list_sort_u().

Signed-off-by: Amisha Chhajed <amishhhaaaa@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-01-29 09:32:50 -08:00
..
clar t/unit-tests: update clar to 39f11fe 2025-12-07 07:25:15 +09:00
.gitignore
generate-clar-decls.sh
generate-clar-suites.sh
lib-oid.c
lib-oid.h
lib-reftable.c
lib-reftable.h
test-lib.c
test-lib.h
u-ctype.c
u-dir.c
u-example-decorate.c
u-hash.c
u-hashmap.c
u-mem-pool.c
u-oid-array.c
u-oidmap.c
u-oidtree.c
u-prio-queue.c
u-reftable-basics.c
u-reftable-block.c
u-reftable-merged.c
u-reftable-pq.c
u-reftable-readwrite.c
u-reftable-record.c t/unit-tests: demonstrate use of integer comparison assertions 2025-12-07 07:25:16 +09:00
u-reftable-stack.c
u-reftable-table.c
u-reftable-tree.c
u-strbuf.c
u-strcmp-offset.c
u-string-list.c string-list: add string_list_sort_u() that mimics "sort -u" 2026-01-29 09:32:50 -08:00
u-strvec.c
u-trailer.c
u-urlmatch-normalization.c
u-utf8-width.c
unit-test.c
unit-test.h t/unit-tests: update clar to 39f11fe 2025-12-07 07:25:15 +09:00