Re: [PATCH] git clone depth of 0 not possible.
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 8, 2013, 06:28 UTC
- Message-ID
- <20130108062811.GA3131@elie.Belkin>
- In-Reply-To
- <1357581996-17505-1-git-send-email-stefanbeller@googlemail.com>
Stefan Beller wrote:
> Currently it is not possible to have a shallow depth of > just 0, i.e. only one commit in that repository after cloning. > The minimum number of commits is 2, caused by depth=1.
Sounds buggy. Would anything break if we were to make --depth=1 mean "1 deep, including the tip commit"?