aboutsummaryrefslogtreecommitdiffstats
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-08-21 13:46:59 -0700
committerJunio C Hamano <gitster@pobox.com>2025-08-21 13:46:59 -0700
commit971ba42dd426f2531d5448488bcd3bd3282e6999 (patch)
tree90b087657b1dfcc37763734ad7b749e13bd2cab3 /fetch-pack.c
parentMerge branch 'rs/describe-with-prio-queue' (diff)
parentstring-list: split-then-remove-empty can be done while splitting (diff)
downloadgit-971ba42dd426f2531d5448488bcd3bd3282e6999.tar.gz
git-971ba42dd426f2531d5448488bcd3bd3282e6999.zip
Merge branch 'jc/string-list-split'
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
Diffstat (limited to 'fetch-pack.c')
-rw-r--r--fetch-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-pack.c b/fetch-pack.c
index 46c39f85c4..20e5533b21 100644
--- a/fetch-pack.c
+++ b/fetch-pack.c
@@ -1914,7 +1914,7 @@ static void fetch_pack_config(void)
char *str;
if (!repo_config_get_string(the_repository, "fetch.uriprotocols", &str) && str) {
- string_list_split(&uri_protocols, str, ',', -1);
+ string_list_split(&uri_protocols, str, ",", -1);
free(str);
}
}