From: David Bryson <david@xxxxxxxxxxxxxxx> This test case checks to make sure mirror does not push stashed refs --- t/t5517-push-mirror.sh | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/t/t5517-push-mirror.sh b/t/t5517-push-mirror.sh index ea49ded..bb263cd 100755 --- a/t/t5517-push-mirror.sh +++ b/t/t5517-push-mirror.sh @@ -123,6 +123,16 @@ test_expect_success 'push mirror adds, updates and removes branches together' ' ' +test_expect_success 'push mirror does not push stash refs' ' + + mk_repo_pair && + ( + cd master && + echo foo >foo && git add foo && git commit -m 'foo' && + echo bar >foo && git stash save 'WIP' && + git push --mirror up + ) +' # TAG tests test_expect_success 'push mirror creates new tags' ' -- 1.6.0.1 -- 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