Re: [PATCH] index-pack: add a helper function to derive .idx/.keep filename

2016-03-03 Thread Jeff King
On Thu, Mar 03, 2016 at 01:37:18PM -0800, Junio C Hamano wrote: > 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 > --- > builtin/index-pack.c | 35 +++

[PATCH] index-pack: add a helper function to derive .idx/.keep filename

2016-03-03 Thread Junio C Hamano
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 --- builtin/index-pack.c | 35 +-- 1 file changed, 17 insertions(+), 18 deletion