[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: |
Sun, 1 May 2011 20:08:44 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, May 01, 2011 at 08:55:55PM +0200, Valentin Villenave wrote:
> On Sun, May 1, 2011 at 7:03 PM, Graham Percival
> <address@hidden> wrote:
> > git fetch --depth 1
>
> I may be wrong, but doesn't
>
> $ git clone git://git.sv.gnu.org/lilypond.git
>
> do exactly that in one single line?
No, clone gets the entire history. fetch --depth 1 only gets the
previous 1 commit, so it's less to download.
This series of commands comes from lily-git.tcl. See discussion
from... early 2010, I think...? about why we chose those
commands.
Cheers,
- Graham