Re: [PATCH v2] commit: run git gc --auto just before the pre-commit hook

2018-02-28 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: >> Ævar Arnfjörð Bjarmason writes: >> >>> Change the behavior of git-commit back to what it was back in >>> d4bb43ee27 ("Invoke "git gc --auto" from commit, merge, am and >>> rebase.", 2007-09-05) when it was git-commit.sh. >> >> ... which was to run it just bef

[PATCH v2] commit: run git gc --auto just before the pre-commit hook

2018-02-28 Thread Ævar Arnfjörð Bjarmason
Change the behavior of git-commit back to what it was back in d4bb43ee27 ("Invoke "git gc --auto" from commit, merge, am and rebase.", 2007-09-05) when it was git-commit.sh. Shortly afterwards in f5bbc3225c ("Port git commit to C.", 2007-11-08) when it was ported to C, the "git gc --auto" invocati