Signed-off-by: Sverre Rabbelier <srabbelier@xxxxxxxxx> --- Not a lot of tests yet, but I suspect reviewers will ask for more and/or new features will pop up that need testing, hence a seperate patch with tests. t/t5516-fetch-push.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh index 2d2633f..64da9a6 100755 --- a/t/t5516-fetch-push.sh +++ b/t/t5516-fetch-push.sh @@ -586,4 +586,10 @@ test_expect_success 'push with branches containing #' ' git checkout master ' +test_expect_success 'allow deleting a remote ref with --delete' ' + mk_test heads/master && + git push --delete testrepo refs/heads/master && + (cd testrepo && test_must_fail git rev-parse --verify refs/heads/master) +' + test_done -- 1.6.4.16.g72c66.dirty -- 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