From: Johannes Schindelin Date: Mon, 17 Sep 2007 09:41:40 GMT Subject: Re: [PATCH 7/8] git-gc --auto: restructure the way "repack" command line is built. Message-ID: In-Reply-To: <1190018713416-git-send-email-gitster@pobox.com> Hi, On Mon, 17 Sep 2007, Junio C Hamano wrote: > @@ -154,8 +161,6 @@ int cmd_gc(int argc, const char **argv, const char *prefix) > * Auto-gc should be least intrusive as possible. > */ > prune = 0; > - for (i = 0; i < ARRAY_SIZE(argv_repack_auto); i++) > - argv_repack[i] = argv_repack_auto[i]; > if (!need_to_gc()) > return 0; > } This subtly changes behaviour: --auto ran also garbage collection for reflogs and rerere. This might be intended, but is not documented. Ciao, Dscho