[PATCH 3/5] t6050-replace: test that objects are of the same type

2013-08-25 Thread Christian Couder
Signed-off-by: Christian Couder chrisc...@tuxfamily.org --- t/t6050-replace.sh | 13 + 1 file changed, 13 insertions(+) diff --git a/t/t6050-replace.sh b/t/t6050-replace.sh index decdc33..8f631ac 100755 --- a/t/t6050-replace.sh +++ b/t/t6050-replace.sh @@ -263,4 +263,17 @@

Re: [PATCH 3/5] t6050-replace: test that objects are of the same type

2013-08-25 Thread Johannes Sixt
Am 25.08.2013 15:06, schrieb Christian Couder: +test_expect_success 'replaced and replacement objects must be of the same type' ' + test_must_fail git replace mytag $HASH1 2err + grep Object ref '\''mytag'\'' is of type '\''tag'\'' err Uh, this hurts in the eye! Please write this