]> git.99rst.org Git - git.git/commit
Merge branch 'rs/strbuf-avoid-redundant-reset'
authorJunio C Hamano <redacted>
Wed, 22 Jul 2026 17:30:54 +0000 (10:30 -0700)
committerJunio C Hamano <redacted>
Wed, 22 Jul 2026 17:30:54 +0000 (10:30 -0700)
commit88620f05acd5e5506efbb583704c73937379d3d4
treee90d39bd1fa295452aa5a433f1f5d4fd0dab2724
parent9822fc38f8a306942f4c2af74c7140e0b8f94191
parent7b0203b15c1a15c77436160c58b45bef9b087c08
Merge branch 'rs/strbuf-avoid-redundant-reset'

A redundant strbuf_reset() call in the 'HAVE_GETDELIM' path of
strbuf_getwholeline() has been removed, as getdelim() overwrites the
buffer and the length is updated afterward.

* rs/strbuf-avoid-redundant-reset:
  strbuf: avoid redundant reset in strbuf_getwholeline()
git clone https://git.99rst.org/PROJECT