]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/strbuf-split'
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 Aug 2025 20:47:00 +0000 (13:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Aug 2025 20:47:00 +0000 (13:47 -0700)
commit54fef16542ef1d83b4b99d9b5e9ffd19e1942517
tree86359eb57d6ea330d34b15e8ed81dcbcfc17c4b7
parent971ba42dd426f2531d5448488bcd3bd3282e6999
parent838fe56920684bf0ab734f7ddf2bad69cb5f5d45
Merge branch 'jc/strbuf-split'

Arrays of strbuf is often a wrong data structure to use, and
strbuf_split*() family of functions that create them often have
better alternatives.

Update several code paths and replace strbuf_split*().

* jc/strbuf-split:
  trace2: do not use strbuf_split*()
  trace2: trim_trailing_newline followed by trim is a no-op
  sub-process: do not use strbuf_split*()
  environment: do not use strbuf_split*()
  config: do not use strbuf_split()
  notes: do not use strbuf_split*()
  merge-tree: do not use strbuf_split*()
  clean: do not use strbuf_split*() [part 2]
  clean: do not pass the whole structure when it is not necessary
  clean: do not use strbuf_split*() [part 1]
  clean: do not pass strbuf by value
  wt-status: avoid strbuf_split*()
builtin/clean.c
builtin/merge-tree.c
builtin/notes.c
config.c
environment.c
wt-status.c