Re: [PATCH] Added test case for mirror to not push stash refs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 6, 2008, 16:58 UTC
- Message-ID
- <7vod0siyfx.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <bd6139dc0811060034q14e47232n5f00471e5420efbb@mail.gmail.com>
"Sverre Rabbelier" <alturin@gmail.com> writes:
Show 6 quoted lines
>> + 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.