Re: What's cooking in git.git (topics)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 23, 2008, 00:22 UTC
- Message-ID
- <7vd4ohwhcj.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200804222251.04559.barra_cuda@katamail.com>
Michele Ballabio <barra_cuda@katamail.com> writes:
Show 15 quoted lines
> On Tuesday 22 April 2008, Junio C Hamano wrote: >> * mv/defer-gc (Wed Apr 2 21:35:11 2008 +0200) 3 commits >> + contrib/hooks: add an example pre-auto-gc hook >> + Documentation/hooks: add pre-auto-gc hook >> + git-gc --auto: add pre-auto-gc hook >> >> A new hook to stop "git gc --auto" from running. > > About "git gc --auto", there was a patch sometime ago: > > [PATCH] commit: resurrect "gc --auto" at the end > > http://marc.info/?l=git&m=120716427130606&w=2 > > Was it dropped?
In the thread, addition of an extra hook to "gc --auto" wasdiscussed. It was judged conditionally Ok as long as nobody assumes "gc --auto" is ultra-cheap. We used to have a "gc --auto" at the end of git-commit which violated that condition, but we do not have that anymore.
The patch resurrects the behaviour that makes the extra hook possibly unacceptable again, dosn't it?