git-gc --auto: restructure the way "repack" command line is built.
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2007 07:48:39 +0000 (00:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Sep 2007 06:12:15 +0000 (23:12 -0700)
commit95143f9e686dee144e0ff4a20190b923e20e1b64
tree9bf6dc0c231f64fdf591dc46a2d54ee337c83ccf
parenta087cc9819d5790a0aeb42c2bd74f781c555e8d6
git-gc --auto: restructure the way "repack" command line is built.

We used to build the command line to run repack outside of
need_to_gc() but with the next patch we would want to tweak the
command line depending on the nature of need.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-gc.c