Re: [PATCH] git clone depth of 0 not possible.
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 28, 2013, 16:58 UTC
- Message-ID
- <CAFzf2Xzm4rG0AFEui7iU56HqX0vciVwWTd=Yb+TXLSmBa=Vbjw@mail.gmail.com>
- In-Reply-To
- <20130528163416.GK25742@login.drsnuggles.stderr.nl>
Matthijs Kooijman wrote:
> In other words: we won't break existing clients if we suddenly send back > one less commit than before, since the client just sends over what it > wants and then assumes that whatever it gets back is really what it > wanted?
Yes, depending on your definition of "break".
An advantage of that approach is that old clients would get the new, intuitive behavior without upgrading. A disadvantage is that it is a confusing world where the same command produces different effects when contacting different servers.