aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-08-01 15:04:20 -0700
committerJunio C Hamano <gitster@pobox.com>2025-08-02 22:34:32 -0700
commit576454974165d51b7e39c0608cde1c84978f1a8a (patch)
tree33b3ea4c05ae843ffeaa4a5f9bb2e66b6398a5e5 /diff.c
parentstring-list: unify string_list_split* functions (diff)
downloadgit-576454974165d51b7e39c0608cde1c84978f1a8a.tar.gz
git-576454974165d51b7e39c0608cde1c84978f1a8a.zip
string-list: optionally trim string pieces split by string_list_split*()
Teach the unified split_string() to take an optional "flags" word, and define the first flag STRING_LIST_SPLIT_TRIM to cause the split pieces to be trimmed before they are placed in the string list. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions