Re: [PATCH v4 03/11] t6050-replace: test that objects are of the same type

2013-09-05 Thread Christian Couder
From: Junio C Hamano > > Christian Couder writes: >> >> +test_expect_success 'replaced and replacement objects must be of the same >> type' ' >> +test_must_fail git replace mytag $HASH1 2>err && >> +grep "mytag. points to a replaced object of type .tag" err && >> +grep "$HASH1. poi

Re: [PATCH v4 03/11] t6050-replace: test that objects are of the same type

2013-09-04 Thread Junio C Hamano
Christian Couder writes: > Signed-off-by: Christian Couder > --- > t/t6050-replace.sh | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/t/t6050-replace.sh b/t/t6050-replace.sh > index decdc33..5c352c4 100755 > --- a/t/t6050-replace.sh > +++ b/t/t6050-replace.sh > @@ -263,4

[PATCH v4 03/11] t6050-replace: test that objects are of the same type

2013-09-03 Thread Christian Couder
Signed-off-by: Christian Couder --- t/t6050-replace.sh | 13 + 1 file changed, 13 insertions(+) diff --git a/t/t6050-replace.sh b/t/t6050-replace.sh index decdc33..5c352c4 100755 --- a/t/t6050-replace.sh +++ b/t/t6050-replace.sh @@ -263,4 +263,17 @@ test_expect_success 'not just comm