git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question on alternates
@ 2007-07-24 10:00 Michael S. Tsirkin
  2007-07-24 10:05 ` Jakub Narebski
  0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2007-07-24 10:00 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Is it possible to add an alternate to .git/objects/info/alternates
to an existig repository, after the fact?
If I do, is there a way to find and remove objects that
already exist in the alternate?

Thanks,

-- 
MST

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

* Re: question on alternates
  2007-07-24 10:00 question on alternates Michael S. Tsirkin
@ 2007-07-24 10:05 ` Jakub Narebski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Narebski @ 2007-07-24 10:05 UTC (permalink / raw)
  To: git

Michael S. Tsirkin wrote:

> Is it possible to add an alternate to .git/objects/info/alternates
> to an existig repository, after the fact?

Yes.

> If I do, is there a way to find and remove objects that
> already exist in the alternate?

I guess "git repack -a -d -l" (or "git gc --prune").

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

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

end of thread, other threads:[~2007-07-24 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-24 10:00 question on alternates Michael S. Tsirkin
2007-07-24 10:05 ` Jakub Narebski

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).