Re: [PATCH] git exproll: steps to tackle gc aggression
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Aug 10, 2013, 09:24 UTC
- Message-ID
- <CACsJy8DtiSupsvDgeBXGGnGE06pDxWvYTNrk3bpta9Bwk5MZwg@mail.gmail.com>
- In-Reply-To
- <CALkWK0kpqyxTyai2Lue7=D4z0kvhxuxKdYSWekT22zUhRis0Og@mail.gmail.com>
On Sat, Aug 10, 2013 at 3:42 PM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
Show 7 quoted lines
>> As Junio mentioned, that is what "--thin" is about; the sender omits the
>> base and the receiver adds it back in ("index-pack --fix-thin").
>
> Yeah, I read about the --thin option. However, it's only for
> network-packs (i.e --stdout; why?). Also, is it turned on by default?
> The documentation says so, but I ran it and found that the value of
> thin is 0 in builtin/push.c:316. What is going on?--thin is enabled by default for fetch (see transport.c:transport_get()) but it's only effective when the server advertises "thin-pack" capability (see protocol-capabilities.txt). push has --thin turned off by default favoring server resources over network traffic, see a4503a1 (Make --no-thin the default in git-push to save server resources - 2007-09-09)
-- Duy