| commit | 11aec9556b1facd6272495690bd61995bd83547c | [log] [tgz] |
|---|---|---|
| author | Christian Couder <chriscool@tuxfamily.org> | Fri Sep 06 07:10:56 2013 +0200 |
| committer | Junio C Hamano <gitster@pobox.com> | Fri Sep 06 13:29:44 2013 -0700 |
| tree | 08940f8589994818835045f424d6dda343dfbeed | |
| parent | 3e625c8fec8a2ec49352e8f0a3862ccbfca11d3a [diff] |
t6050-replace: add test to clean up all the replace refs Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff --git a/t/t6050-replace.sh b/t/t6050-replace.sh index 09bad98..09a2b49 100755 --- a/t/t6050-replace.sh +++ b/t/t6050-replace.sh
@@ -276,4 +276,10 @@ git replace -f HEAD^ $BLOB ' +test_expect_success 'replace ref cleanup' ' + test -n "$(git replace)" && + git replace -d $(git replace) && + test -z "$(git replace)" +' + test_done