From: Christian Couder Date: Tue, 03 Sep 2013 07:10:18 GMT Subject: [PATCH v4 04/11] t6050-replace: add test to clean up all the replace refs Message-ID: <20130903071026.29838.37890.chriscool@tuxfamily.org> In-Reply-To: <20130903070551.29838.43576.chriscool@tuxfamily.org> Signed-off-by: Christian Couder --- t/t6050-replace.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/t6050-replace.sh b/t/t6050-replace.sh index 5c352c4..05be228 100755 --- a/t/t6050-replace.sh +++ b/t/t6050-replace.sh @@ -276,4 +276,10 @@ test_expect_success 'replaced and replacement objects must be of the same type' grep "$BLOB. points to a replacement object of type .blob" err ' +test_expect_success 'replace ref cleanup' ' + test -n "$(git replace)" && + git replace -d $(git replace) && + test -z "$(git replace)" +' + test_done -- 1.8.4.rc1.31.g530f5ce.dirty