From: Derrick Stolee Date: Wed, 07 Dec 2022 14:44:35 GMT Subject: Re: [PATCH v3 08/11] strbuf: introduce strbuf_strip_file_from_path() Message-ID: <98ee4b5b-9d72-31fc-d5b1-1a978450973f@github.com> In-Reply-To: <221206.86wn74bw35.gmgdl@evledraar.gmail.com> On 12/6/22 6:37 AM, Ævar Arnfjörð Bjarmason wrote: > FWIW the "overkill" change on top to do this via callbacks is the > below. Which I tested just to see how easy it was, and whether it would > fail your tests (it doesn't). > > -- >8 -- > Subject: [PATCH] strbuf: generalize "{,r,l}trim" to a callback interface I don't like this approach and think it distracts from the goal of the series. If you want to update it afterwards, then by all means go for it. Thanks, -Stolee