[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move to git is imminent - awaiting Stefan's approval

From: Stephen J. Turnbull
Subject: Re: Move to git is imminent - awaiting Stefan's approval
Date: Wed, 08 Jan 2014 03:49:24 +0900

Sven Axelsson writes:
 > On 7 January 2014 19:05, Eli Zaretskii <address@hidden> wrote:
 > >> From: "Stephen J. Turnbull" <address@hidden>

 > >> git-gc does not necessarily repack existing packs according to the
 > >> doc.
 > >>
 > >> Try git-repack.
 > >
 > > I thought "git gc" runs git-repack, no?

It kinda pisses me off that you complain about the excessive detail of
git documentation, and then ask others to tell you about the details
you could read in the documentation.

 > No. git-repack is often a very expensive operation, so it is never
 > run automatically, which git-gc can be.

Specifically, according to the help, git-gc removes garbage (in the
usual sense of a tracing collector) and "compresses" (ie, packs) loose
objects using delta compression (and then the result is deflated as
with loose objects, I believe).  It will repack the packs into *one*
pack (presumably with better delta compression) if the number of packs
is greater than the value of gc.autopacklimit (in .git/config;
default: 50).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]