From: Nicolas Pitre Date: Fri, 04 Jan 2008 19:38:42 GMT Subject: Re: [PATCH] git-am: Run git gc only once and not for every patch. Message-ID: In-Reply-To: <20080104185926.GA11912@redhat.com> On Fri, 4 Jan 2008, Michael Stefaniuc wrote: > With "too many unreachable loose objects" git gc --auto will always > trigger. This clutters the output of git am and thus git rebase. > > The work flow of the Wine project doesn't include git merge. git rebase > is therefor used to track the origin. This will produce soon too many > loose objects for git gc --auto's taste. Pruning the repository would > "fix" it. But we tell Wine developers new to git to NOT prune as long as > they aren't confident enough with git; just as a safety net in case they > have thrown away month of work. The safety is the reflog. What it refers to doesn't get pruned. Nicolas