From: david@statichacks.org Date: Thu, 06 Nov 2008 17:39:14 GMT Subject: [PATCH] Added test case for mirror to not push stash refs Message-ID: <1225993154-3685-1-git-send-email-david@statichacks.org> In-Reply-To: <20081028212327.GA25358@sigill.intra.peff.net> From: David Bryson 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