git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 'git gc' always run, on old kernel repo?
@ 2008-02-28 19:57 Jeff Garzik
  2008-02-28 20:13 ` Jeff Garzik
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Garzik @ 2008-02-28 19:57 UTC (permalink / raw)
  To: git; +Cc: LKML

In order to apply a kernel patch diff'd against an older kernel, I ran

	git checkout -b tmp v2.6.23
	git-am --signoff --utf8 /g/tmp/mbox

The patch applied successfully, but each time I run this, it starts an 
automated 'git gc' run...  even if there is nothing useful to gc:

> [jgarzik@pretzel netdev-2.6]$ git-am --signoff --utf8 /g/tmp/mbox 
> Applying Add support for HT1100 SATA controller - sent from evolution
> Auto packing your repository for optimum performance. You may also
> run "git gc" manually. See "git help gc" for more information.
> Counting objects: 1, done.
> Writing objects: 100% (1/1), done.
> Total 1 (delta 0), reused 0 (delta 0)
> warning: There are too many unreachable loose objects; run 'git prune' to remove them.

IMO there is a broken hueristic in there somewhere...  I regularly run 
'git gc' on my repos...

	Jeff



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-28 20:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28 19:57 'git gc' always run, on old kernel repo? Jeff Garzik
2008-02-28 20:13 ` Jeff Garzik
2008-02-28 20:32   ` Asheesh Laroia
2008-02-28 20:34     ` Asheesh Laroia
2008-02-28 20:36   ` Nicolas Pitre
2008-02-28 20:45     ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).