Re: [PATCH] commit: resurrect "gc --auto" at the end
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 14, 2008, 18:40 UTC
- Message-ID
- <alpine.DEB.1.00.0805141939470.30431@racer>
- In-Reply-To
- <7vlk2coist.fsf@gitster.siamese.dyndns.org>
Hi,
On Wed, 14 May 2008, Junio C Hamano wrote:
Show 30 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Wed, 2 Apr 2008, Johannes Schindelin wrote: > > > >> From: Johannes Schindelin <johannes.schindelin@gmx.de> > >> > >> As the scripted version of git-commit did, we now call gc --auto just > >> before the post-commit hook. > >> > >> Any errors of gc --auto should be non-fatal, so we do not catch those; the > >> user should see them anyway. > >> > >> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> > >> --- > >> > >> Junio wrote: > >> > > >> > * "git commit" used to have one [call to 'gc --auto'] at the > >> > end in the scripted version, but seems to have lost it in C > >> > rewrite. > >> > >> How about this? > > > > Any news on this? > > I had an impression that we accepted the hook which made "gc --auto" > more expensive by forcing it to check the hook (and possibly execute it > every time) after vetting am, svn and friends to make sure nobody > triggered "gc --auto" once per every commit, and during that vetting > process we noticed that "git commit" lost the "gc --auto" at the end.
Ah yes, completely forgot. Thanks.
Ciao, Dscho