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

Re: Splitting a repository but sharing the common parts of the object database

From
SBStephen Bash <bash@genarts.com>
Date
Dec 13, 2010, 19:50 UTC
Message-ID
<31673515.186200.1292269850925.JavaMail.root@mail.hq.genarts.com>
In-Reply-To
<20101213192053.GA30315@burratino>
----- Original Message -----
Show 19 quoted lines
> From: "Jonathan Nieder" <jrnieder@gmail.com>
> To: "Phillip Susi" <psusi@cfl.rr.com>
> Cc: git@vger.kernel.org
> Sent: Monday, December 13, 2010 2:20:53 PM
> Subject: Re: Splitting a repository but sharing the common parts of the object database
> Hi Phillip,
> 
> Phillip Susi wrote:
> 
> > If I run a repack -a, then the new project has everything copied out
> > of the archive and into its new main pack, rather than continuing to
> > use the archive repository for old history, and just pack everything
> > since then. I guess I am looking for is somewhere between a full repack
> > and an incremental; a way to make repack -a discard existing local
> > packs, but to respect the alternate packs and omit objects they contain
> > from the new local pack.
> 
> You might be interested in girocco's fork support. See
> http://repo.or.cz/w/girocco.git/blob/HEAD:/jobd/gc.sh for starters.
You might also be interested in Pro Git's entry on git-replace:
  http://progit.org/2010/03/17/replace.html
It's a completely different approach than what you're suggesting, but might open up new and interesting avenues.
Stephen
Previous: Jonathan NiederNext: Phillip Susi
Message 3 of 5 in “Splitting a repository but sharing the common parts of the object database”
  1. Phillip SusiDec 13, 2010
  2. Jonathan NiederDec 13, 2010
  3. Stephen BashDec 13, 2010
  4. Phillip SusiDec 13, 2010
  5. Jonathan NiederDec 13, 2010

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.