git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Sharing repositories later on

From
EMErik Mouw <erik@harddisk-recovery.com>
Date
Jul 12, 2006, 15:57 UTC
Message-ID
<20060712155751.GE7328@harddisk-recovery.com>
In-Reply-To
<7vpsgazw5j.fsf@assigned-by-dhcp.cox.net>
On Wed, Jul 12, 2006 at 08:21:28AM -0700, Junio C Hamano wrote:
Show 8 quoted lines
> Erik Mouw <erik@harddisk-recovery.com> writes:
> > Right now I have a "linux-2.6" repository to track Linus's 2.6 kernel
> > tree and an "elinux-2.6" tree that pulls from linux-2.6 and holds my
> > own changes. I created a file .git/objects/info/alternates that
> > contains the line "/home/erik/git/linux-2.6/.git/objects". Now how do I
> > get rid of the "old" objects and packs without loosing my changes?
> 
> repack -a -d -l perhaps?

Thanks, that did the trick. I now have a small pack with around 100 objects.

Erik
-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
Previous: Junio C HamanoNext: Linus Torvalds
Message 3 of 4 in “Sharing repositories later on”
  1. Erik MouwJul 12, 2006
  2. Junio C HamanoJul 12, 2006
  3. Erik MouwJul 12, 2006
  4. Linus TorvaldsJul 12, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.