From: Junio C Hamano <gitster@xxxxxxxxx> > > Christian Couder <chriscool@xxxxxxxxxxxxx> 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. points to a replacement object of type .commit" err && > > Hmm, would these messages ever get translated? I think it is > sufficient to make sure that the proposed replacement fails for > these cases. Ok, I will get rid of the grep statements. Thanks, Christian. -- 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