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

Re: git-fast-export hg mutt (24M vs 184M)

From
Nicolas Pitre <nico@cam.org>
Date
May 4, 2007, 01:11 UTC
Message-ID
<alpine.LFD.0.99.0705032109070.24220@xanadu.home>
In-Reply-To
<20070503222946.GH3260@artemis>
On Fri, 4 May 2007, Pierre Habouzit wrote:
Show 19 quoted lines
> On Thu, May 03, 2007 at 05:18:24PM -0400, Shawn O. Pearce wrote:
> > Pierre Habouzit <madcoder@debian.org> wrote:
> > > On Thu, May 03, 2007 at 09:17:16PM +0200, Thomas Glanzmann wrote:
> > > > Hello,
> > > > git-repack -a -d -f got it down to 19M. I missed the -f parameter
> > > > before. Sorry for the noise.
> > > 
> > >   You may want to use git gc that does that (and a bit more) for you.
> > 
> > Actually, in this case, no.
> > 
> > git-gc by default doesn't use the -f option.  -f to git-repack
> > means "no reuse deltas".  That particular feature of git-repack is
> > basically required to be used after running git-fast-import with
> > anything sizeable.
> 
>   okay, so why git fast-import does not let some note somewhere (to be
> picked by git gc later) "a fast-import has been run, use -f for next
> repack if you want best compression" ?
Nah.

The conversion script should do it itself directly after it is done with fast-import.

Nicolas
Previous: Pierre Habouzit
Message 6 of 6 in “git-fast-export hg mutt (24M vs 184M)”
  1. Thomas GlanzmannMay 3, 2007
  2. Thomas GlanzmannMay 3, 2007
  3. Pierre HabouzitMay 3, 2007
  4. Shawn O. PearceMay 3, 2007
  5. Pierre HabouzitMay 3, 2007
  6. Nicolas PitreMay 4, 2007

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.