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 <gitster@xxxxxxxxx> > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html