]> git.ipfire.org Git - thirdparty/git.git/commit
merge-tree: do not use strbuf_split*()
authorJunio C Hamano <gitster@pobox.com>
Thu, 31 Jul 2025 22:54:27 +0000 (15:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 3 Aug 2025 05:44:58 +0000 (22:44 -0700)
commitd33091220dadedfcb874d179fe164f507d5f09b2
tree5ac2527a237a126f6173943868fa440118fc3690
parent4f60672f6f7cbc61fb704c993c54187860f1e9c8
merge-tree: do not use strbuf_split*()

When reading merge instructions from the standard input, the program
reads from the standard input, splits the line into tokens at
whitespace, and trims each of them before using.  We no longer need
to use strbuf just for trimming, as string_list_split*() family can
trim while splitting a string.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/merge-tree.c