Re: [PATCH] docs: clarify that --depth for git-fetch works with newly initialized repos

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

 



On 08.01.2016 10:32, Sebastian Schuberth wrote:

The original wording sounded as if --depth could only be used to deepen or
shorten the history of existing repos. However, that is not the case. In a
workflow like

     $ git init
     $ git remote add origin https://github.com/git/git.git
     $ git fetch --depth=1

The newly initialized repo is properly created as a shallow repo.

Sorry for the missing sign-off, feel free to amend that in pu:

Signed-off-by: Sebastian Schuberth <sschuberth@xxxxxxxxx>

--
Sebastian Schuberth
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]