[Top][All Lists]

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

Re: savannah git fetch --depth 1

From: Graham Percival
Subject: Re: savannah git fetch --depth 1
Date: Mon, 2 May 2011 14:23:41 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, May 02, 2011 at 11:02:47AM +0200, Valentin Villenave wrote:
> On Sun, May 1, 2011 at 9:08 PM, Graham Percival
> <address@hidden> wrote:
> > No, clone gets the entire history.  fetch --depth 1  only gets the
> > previous 1 commit, so it's less to download.
> Note that clone also accepts a --depth argument (aka "shallow
> clones"). So my point is still valid.

But presumably that gets all branches?

> > This series of commands comes from lily-git.tcl.  See discussion
> > from... early 2010, I think...?  about why we chose those
> > commands.
> I do remember having seen such a discussion, but seeing all these
> lines again a few months later really seems overkill to me.

These commands are done automatically in the GUI, so they're not
scaring any new contributors.


I have no interest in fiddling with git.  If you want to propose a
patch to lily-git.tcl, we'll of course put it through the normal
review process.

git clone seems to suffer from the same (or a similar) problem:
I'm seeing about 40% success rate with git clone --depth 1.
Granted, that's better than the 10-20% success rate of git fetch,
but at the moment I think that apparent difference is just random
chance, rather than a significant (in terms of p-values)

- Graham

reply via email to

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