summaryrefslogtreecommitdiff
path: root/t/unit-tests
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-06-07 08:38:20 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-07 10:30:51 -0700
commitb31607a3e03b2002c468c16bb71fcaf2d1846e09 (patch)
tree6d3efa2cc7708aee70e96c03fa02ccc280d42de8 /t/unit-tests
parent394affd46dc9b0c805df6e999837aa297f844fc0 (diff)
entry: refactor how we remove items for delayed checkouts
When finalizing a delayed checkout, we sort out several strings from the passed-in string list by first assigning the empty string to those filters and then calling `string_list_remove_empty_items()`. Assigning the empty string will cause compiler warnings though as the string is a `char *` once we enable `-Wwrite-strings`. Refactor the code to use a `NULL` pointer with `filter_string_list()` instead to avoid this warning. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests')
0 files changed, 0 insertions, 0 deletions