Subject: Re: [PATCH v2 02/22] git: fix leaking system paths

From: Junio C Hamano <[email-masked]>
Date: Tue, 13 Aug 2024 09:02:56 -0700

Patrick Steinhardt <[email-masked]> writes:

>> Makes sense, though I wonder if this would be slightly cleaner to write
>> like so (applies on top of this patch):
>
> It is cleaner indeed, thanks for the proposal!

Yup, it is only 3 repetitions but they are repetitions nevertheless.
A small helper function that gets rid of them is worth it.

Thanks.