login
Header Space

 
 

Re: 'git gc' always run, on old kernel repo?

Previous thread: [PATCH] firewire: fw-ohci: add option for remote debugging by Stefan Richter on Thursday, February 28, 2008 - 3:54 pm. (1 message)

Next thread: Re: Xen paravirt frontend block hang by Jeremy Fitzhardinge on Thursday, February 28, 2008 - 4:00 pm. (6 messages)
To: <git@...>
Cc: LKML <linux-kernel@...>
Date: Thursday, February 28, 2008 - 3:57 pm

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 

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

	Jeff


--
To: <git@...>
Cc: LKML <linux-kernel@...>
Date: Thursday, February 28, 2008 - 4:13 pm

Follow-up...   this is already becoming a PITA.

I am going through and rebasing multiple repos in the same repository... 
and it keeps running 'git gc' on each branch!  grrrr.

Step 1:
pull "../linux-2.6" into master branch of local repo.  this repo was 
created with "--reference".  It _might_ be reasonable to expect 'git gc' 


Step 2:
In the same repo, rebase a branch (contains a single changeset), 


Step 3:


Step 4:


Will the 'git gc' never end???

	Jeff



--
To: Jeff Garzik <jeff@...>
Cc: <git@...>, LKML <linux-kernel@...>
Date: Thursday, February 28, 2008 - 4:36 pm

What happens if you try to run "git prune"?


Nicolas
--
To: Nicolas Pitre <nico@...>
Cc: <git@...>, LKML <linux-kernel@...>
Date: Thursday, February 28, 2008 - 4:45 pm

Same behavior.

FWIW I run "git prune" immediately prior to "git push", _every_ time I 
push to master.kernel.org (git.kernel.org).

	Jeff



--
To: Jeff Garzik <jeff@...>
Cc: <git@...>, LKML <linux-kernel@...>
Date: Thursday, February 28, 2008 - 4:32 pm

sudo ln -sf /usr/bin/git-gc /bin/echo

(-;

-- Asheesh.

-- 
Maternity pay?	Now every Tom, Dick and Harry will get pregnant.
 		-- Malcolm Smith
--
To: Jeff Garzik <jeff@...>
Cc: <git@...>, LKML <linux-kernel@...>
Date: Thursday, February 28, 2008 - 4:34 pm

Er, the other way around.  Must have had too much crack this morning.

*blushes*

-- Asheesh.

-- 
Your boss is a few sandwiches short of a picnic.
--
Previous thread: [PATCH] firewire: fw-ohci: add option for remote debugging by Stefan Richter on Thursday, February 28, 2008 - 3:54 pm. (1 message)

Next thread: Re: Xen paravirt frontend block hang by Jeremy Fitzhardinge on Thursday, February 28, 2008 - 4:00 pm. (6 messages)
speck-geostationary