On Wed, Apr 13, 2016 at 8:55 AM, Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> wrote: > Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> > --- > diff --git a/t/t5500-fetch-pack.sh b/t/t5500-fetch-pack.sh > @@ -661,4 +661,26 @@ test_expect_success 'fetch shallow since ...' ' > +test_expect_success 'fetch exclude tag one' ' > + git -C shallow12 fetch --shallow-exclude one origin && > + git -C shallow12 log --pretty=tformat:%s origin/master >actual && > + echo three >expected && > + echo two >>expected && Perhaps: echo >expected <<-\EOF && three two EOF or: test_write_lines three two >expected && but not worth a re-roll. > + test_cmp expected actual > +' > diff --git a/t/t5539-fetch-http-shallow.sh b/t/t5539-fetch-http-shallow.sh > @@ -98,6 +98,28 @@ test_expect_success 'fetch shallow since ...' ' > +test_expect_success 'fetch exclude tag one' ' > + git -C shallow12 fetch --shallow-exclude one origin && > + git -C shallow12 log --pretty=tformat:%s origin/master >actual && > + echo three >expected && > + echo two >>expected && Likewise. > + test_cmp expected actual > +' -- 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