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

The code to read status from subprocess reads one packet line and
tries to find "status=<foo>".  It is way overkill to split the line
into an array of two strbufs to extract <foo>.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
sub-process.c