Thread (6 messages) flat view 6 messages, 4 authors, 2016-06-15

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

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:08

On Fri, 4 May 2007, Pierre Habouzit wrote:
On Thu, May 03, 2007 at 05:18:24PM -0400, Shawn O. Pearce wrote:
quoted
Pierre Habouzit [off-list ref] wrote:
quoted
On Thu, May 03, 2007 at 09:17:16PM +0200, Thomas Glanzmann wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help