public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* git-gc --prune interferes cogito?
@ 2007-10-17 14:43 MichaelTiloDressel
  2007-10-17 15:38 ` Petr Baudis
  0 siblings, 1 reply; 3+ messages in thread
From: MichaelTiloDressel @ 2007-10-17 14:43 UTC (permalink / raw)
  To: git

Hi,

I'm using git-1.5.3.2 and cogito-0.18.1.

After I did a git-gc --prune cg-status didn't show my branches anymore.
git-branch -a still showed the branches.
I think that git-gc removed all files from .git/refs/heads/ except for
origin. Git seams to be fine with the branches in 
 .git/logs/refs/heads/. 

So should git-gc not be used together with cogito?

Cheers,
Michael

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

* Re: git-gc --prune interferes cogito?
  2007-10-17 14:43 git-gc --prune interferes cogito? MichaelTiloDressel
@ 2007-10-17 15:38 ` Petr Baudis
  2007-10-17 18:55   ` Michael Dressel
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Baudis @ 2007-10-17 15:38 UTC (permalink / raw)
  To: MichaelTiloDressel@t-online•de; +Cc: git

  Hi,

On Wed, Oct 17, 2007 at 04:43:27PM +0200, MichaelTiloDressel@t-online•de wrote:
> I'm using git-1.5.3.2 and cogito-0.18.1.
> 
> After I did a git-gc --prune cg-status didn't show my branches anymore.
> git-branch -a still showed the branches.
> I think that git-gc removed all files from .git/refs/heads/ except for
> origin. Git seams to be fine with the branches in 
>  .git/logs/refs/heads/. 
> 
> So should git-gc not be used together with cogito?

  Cogito doesn't support packed heads - I guess setting gc.packrefs to
false should fix the issue. Cogito should support packed tags, I guess;
I don't know if there's a way to make git-gc pack only tags.

-- 
				Petr "Pasky" Baudis
Early to rise and early to bed makes a male healthy and wealthy and dead.
                -- James Thurber

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

* Re: git-gc --prune interferes cogito?
  2007-10-17 15:38 ` Petr Baudis
@ 2007-10-17 18:55   ` Michael Dressel
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Dressel @ 2007-10-17 18:55 UTC (permalink / raw)
  To: Petr Baudis; +Cc: git

Hi,


On Wed, 17 Oct 2007, Petr Baudis wrote:

>   Hi,
> 
> On Wed, Oct 17, 2007 at 04:43:27PM +0200, MichaelTiloDressel@t-online•de wrote:
> > I'm using git-1.5.3.2 and cogito-0.18.1.
> > 
> > After I did a git-gc --prune cg-status didn't show my branches anymore.
> > git-branch -a still showed the branches.
> > I think that git-gc removed all files from .git/refs/heads/ except for
> > origin. Git seams to be fine with the branches in 
> >  .git/logs/refs/heads/. 
> > 
> > So should git-gc not be used together with cogito?
> 
>   Cogito doesn't support packed heads - I guess setting gc.packrefs to
> false should fix the issue. Cogito should support packed tags, I guess;
> I don't know if there's a way to make git-gc pack only tags.
> 

Thank you. I tried it at home too where I had an older version of git. 
With the older git version git-gc --prune didn't disturbe cogito.
I upgradet to git version 1.5.3.4 and tried gc.packrefs=false and it 
seams to be ok forr cogito.

Cheers,
Michael

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

end of thread, other threads:[~2007-10-17 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17 14:43 git-gc --prune interferes cogito? MichaelTiloDressel
2007-10-17 15:38 ` Petr Baudis
2007-10-17 18:55   ` Michael Dressel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox