]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/string-list-split' into jch
authorJunio C Hamano <gitster@pobox.com>
Sun, 10 Aug 2025 00:30:24 +0000 (17:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Aug 2025 00:30:24 +0000 (17:30 -0700)
commitc09e13ff375c760b28cf206c60baa6c67a4c6ac4
treebcda69238e4ca8c77bae2897e3dfebcabe5c5958
parentdb62a56756ffb979f65696573242adeeee631fb4
parent2ab2aac73d234ae75096e2186b07cc14c57d2586
Merge branch 'jc/string-list-split' into jch

string_list_split*() family of functions have been extended to
simplify common use cases.

* jc/string-list-split:
  string-list: split-then-remove-empty can be done while splitting
  string-list: optionally omit empty string pieces in string_list_split*()
  diff: simplify parsing of diff.colormovedws
  string-list: optionally trim string pieces split by string_list_split*()
  string-list: unify string_list_split* functions
  string-list: align string_list_split() with its _in_place() counterpart
  string-list: report programming error with BUG
12 files changed:
builtin/blame.c
builtin/merge.c
builtin/var.c
connect.c
fetch-pack.c
notes.c
protocol.c
ref-filter.c
setup.c
t/helper/test-hashmap.c
t/helper/test-ref-store.c
transport.c