From: Duy Nguyen Date: Tue, 23 Jul 2013 14:39:55 GMT Subject: Re: [PATCH v2 05/16] fetch-pack: support fetching from a shallow repository Message-ID: In-Reply-To: On Tue, Jul 23, 2013 at 9:06 AM, Duy Nguyen wrote: > Another is reject new shallow history (i.e. > no additions to .git/shallow) unless the user explicitly asks so > either via --depth or a new option --shallow. This does not mean that > fetching from a shallow clone always fails without either of those > options. The above was at pack level when I wrote that, although I think, from the user perspective, rejecting at ref level makes more sense. That is if a fetch request returns one ref update with incremental updates and one with new shallow history, instead of rejecting the whole request, we reject the second ref update and accept the first one. -- Duy