Re: [PATCH v2 20/25] upload-pack: support define shallow boundary by excluding revisions
On Thu, Feb 4, 2016 at 4:03 AM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 6 quoted lines
> @@ -732,7 +743,7 @@ static void receive_needs(void)
> if (depth == 0 && !deepen_rev_list && shallows.nr == 0)
> return;
> if (depth > 0 && deepen_rev_list)
> - die("--depth and --shallow-since cannot be used together");
> + die("--depth and --shallow-since (or --shallow-exclude) cannot be used together");Also, does this change belong in patch 21/25?
> if (depth > 0)
> deepen(depth, &shallows);
> else if (deepen_rev_list) {