From: Junio C Hamano Date: Mon, 30 Mar 2020 17:12:56 GMT Subject: Re: [PATCH 3/9] strbuf: provide function to append whole lines Message-ID: In-Reply-To: <20200330132509.GA1344694@ncase.pks.im> Patrick Steinhardt writes: > Unfortunately it's not that easy for the HAVE_GETDELIM case, though, as > we cannot call getdelim(3P) to append to an already populated buffer. So > we'd have to call getdelim(3P) either on a NULL line and append manually > or on an empty line in case the strbuf doesn't have any contents. While > doable, I wanted to keep out this additional complexity for now. Ahh, I see. Thanks for a clarification.