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 within_depth: fix return for empty path 2025-08-07 15:29:34 -07:00
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 reftable: check for trailing newline in 'tables.list' 2025-10-07 09:22:57 -07:00
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 reftable/stack: add function to check if optimization is required 2025-11-10 09:28:47 -08:00
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 builtin/repo: fix table alignment for UTF-8 characters 2025-11-16 16:04:24 -08:00
unit-test.c unit-test: ignore --no-chain-lint 2025-11-18 09:45:28 -08:00
unit-test.h t/unit-tests: update clar to 39f11fe 2025-12-07 07:25:15 +09:00