cmd_repack(): remove redundant local variable "nr_packs"
commit3e7b066e2229f45d633164beaeb8815b0973a9b4
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 17 Dec 2013 13:43:58 +0000 (17 14:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Dec 2013 18:54:41 +0000 (17 10:54 -0800)
tree3a5adba956adba3f87ba8cdcf8c7ed8c614c5a70
parenta155a5f075cdc09e584a58d68bdce0c80e6c4b5a
cmd_repack(): remove redundant local variable "nr_packs"

Its value is the same as the number of entries in the "names"
string_list, so just use "names.nr" in its place.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Acked-by: Stefan Beller <stefanbeller@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c