Re: [PATCH] index-pack: add a helper function to derive .idx/.keep filename
- From
Jeff King <peff@peff.net>
- Date
- Mar 3, 2016, 22:29 UTC
- Message-ID
- <20160303222902.GB26712@sigill.intra.peff.net>
- In-Reply-To
- <xmqqsi071bw1.fsf@gitster.mtv.corp.google.com>
On Thu, Mar 03, 2016 at 01:37:18PM -0800, Junio C Hamano wrote:
Show 8 quoted lines
> These are automatically named by replacing .pack suffix in the > name of the packfile. Add a small helper to do so, as I'll be > adding another one soonish. > > Signed-off-by: Junio C Hamano <gitster@pobox.com> > --- > builtin/index-pack.c | 35 +++++++++++++++++------------------ > 1 file changed, 17 insertions(+), 18 deletions(-)
Even without the upcoming "another one", this is a nice readability improvement.
-Peff