From: Junio C Hamano Date: Thu, 06 Nov 2008 16:58:10 GMT Subject: Re: [PATCH] Added test case for mirror to not push stash refs Message-ID: <7vod0siyfx.fsf@gitster.siamese.dyndns.org> In-Reply-To: "Sverre Rabbelier" writes: >> + git push --mirror up >> + ) >> +' > > I don't quite get how this works, I don't see a test here anywhere to > actually test that the stash refs were not pushed? I agree that this test should check the receiving end. The patch is relying on the fact that the receiving end would reject the push if the sending end tries to push refs/$foo where $foo does not have any slash.