# clone --bare 2.6.24.y with --reference linus.git too big?

2 messages from 2008-02-13 to 2008-02-13. Participants: Luciano Rocha.
Thread: https://gitlist.dev/t/12076

## Luciano Rocha, 2008-02-13 18:25

Subject: clone --bare 2.6.24.y with --reference linus.git too big?
Message-ID: <20080213182545.GA14886@bit.office.eurotux.com>
URL: https://gitlist.dev/e/20080213182545.GA14886%40bit.office.eurotux.com

```

Hello,

I did today a bare clone of the 2.6.24.y tree of the Linux kernel.

I instructed git to use a local mirror of Linus's tree, but the clone
ended up downloading over 40MB of data:

$ git clone --bare --reference /.src/kernel/linus.git/ \
    git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git \
    2.6.24.y.git
Initialized empty Git repository in /media/stuff/src/kernel/2.6.24.y.git/
remote: Counting objects: 15483, done.
remote: Compressing objects: 100% (14747/14747), done.
remote: Total 15483 (delta 1795), reused 5236 (delta 632)
Receiving objects: 100% (15483/15483), 46.30 MiB | 317 KiB/s, done.
Resolving deltas: 100% (1795/1795), done.

I expected a much smaller download, as the difference between the heads
of both trees are only a few patches (2.6.24 -> 2.6.24.2).

My git is at version 1.5.4.1.99.g3b933.

-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>

```

## Luciano Rocha, 2008-02-13 18:30

Subject: Re: clone --bare 2.6.24.y with --reference linus.git too big?
Message-ID: <20080213183059.GA15649@bit.office.eurotux.com>
URL: https://gitlist.dev/e/20080213183059.GA15649%40bit.office.eurotux.com
In-Reply-To: <20080213182545.GA14886@bit.office.eurotux.com>

```
On Wed, Feb 13, 2008 at 06:25:45PM +0000, Luciano Rocha wrote:
<snip>
> I expected a much smaller download, as the difference between the heads
> of both trees are only a few patches (2.6.24 -> 2.6.24.2).

Correction: as there are only a few patches on 2.6.24.y tree that aren't
in Linus's. Linus's tree head is now, of course, very much ahead of
2.6.24.y.

-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>

```
