diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-07-31 15:54:28 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-02 22:44:58 -0700 |
| commit | 566e91049558cf9837e2f760877437b929fbb232 (patch) | |
| tree | 0ffff182b1173d2830f0318d979323e468f2d810 /git-gui/lib/commit.tcl | |
| parent | d33091220dadedfcb874d179fe164f507d5f09b2 (diff) | |
notes: do not use strbuf_split*()
When reading copy instructions from the standard input, the program
reads a line, splits it into tokens at whitespace, and trims each of
the tokens before using. We no longer need to use strbuf just to be
able to trim, as string_list_split*() family now can trim while
splitting a string.
Retire the use of strbuf_split() from this code path.
Note that this loop is a bit sloppy in that it ensures at least
there are two tokens on each line, but ignores if there are extra
tokens on the line. Tightening it is outside the scope of this
series.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions
