# Thin pack

2 messages from 2013-12-05 to 2013-12-05. Participants: 乙酸鋰, Duy Nguyen.
Thread: https://gitlist.dev/t/35480

## 乙酸鋰, 2013-12-05 01:44

Subject: Thin pack
Message-ID: <CAHtLG6SBOi+v7uchwr1iHtMvzwLOW1hkpNT5x4vVhOKL=t2SdA@mail.gmail.com>
URL: https://gitlist.dev/e/CAHtLG6SBOi%2Bv7uchwr1iHtMvzwLOW1hkpNT5x4vVhOKL%3Dt2SdA%40mail.gmail.com

```
Hi,

What are the difference between pre 1.8.5 and 1.8.5 about thin pack support?
Could you describe thin pack?
From the doc, it says --thin is default option. Is that true?

```

## Duy Nguyen, 2013-12-05 03:43

Subject: Re: Thin pack
Message-ID: <CACsJy8D0wrBJnigNaPt=_5Sa1PWrqaWzttA8Mun3H74mzYRNVA@mail.gmail.com>
URL: https://gitlist.dev/e/CACsJy8D0wrBJnigNaPt%3D_5Sa1PWrqaWzttA8Mun3H74mzYRNVA%40mail.gmail.com
In-Reply-To: <CAHtLG6SBOi+v7uchwr1iHtMvzwLOW1hkpNT5x4vVhOKL=t2SdA@mail.gmail.com>

```
On Thu, Dec 5, 2013 at 8:44 AM, 乙酸鋰 <ch3cooli@gmail.com> wrote:
> What are the difference between pre 1.8.5 and 1.8.5 about thin pack support?

No idea.

> Could you describe thin pack?

It gets a bit technical. Under the hood objects are deltified, only
the differences between an object and its base are stored. If both the
diff and the base are in a pack, it's a normal pack. If the pack lacks
the base, it's "thin". This makes thin packs more suited for network
transfer because you transfer much less. Imagine you have a 5k file,
you fetch another version of the same file that changes 1 line. With
thin pack, you receive just that line (not entirely true, but good
enough). Without thin pack, you also receive the 5k file you already
have because it's the base of the new version.

> From the doc, it says --thin is default option. Is that true?

Yes.
-- 
Duy

```
