summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2025-09-08 07:30:53 +0200
committerJunio C Hamano <gitster@pobox.com>2025-09-08 10:30:56 -0700
commit68a746e9a892f8afa910cdf5c5360dae69193599 (patch)
tree291dbb7dadfd7f9dd648dc895cd8d9c0f9053280 /commit-graph.c
parentc213820c512dc0a5cfe11a075e41f789f3225923 (diff)
promisor-remote: use string_list_split() in mark_remotes_as_accepted()
Previous commits replaced some strbuf_split*() calls with calls to string_list_split*() in "promisor-remote.c". For consistency, let's also replace the strbuf_split_str() call in mark_remotes_as_accepted() with a call to string_list_split(), as we don't need the splitted strings to be managed by a `struct strbuf`. Using the lighter-weight `string_list` API is enough for our needs. While at it let's remove a useless call to `strbuf_strip_suffix()`. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions