From: Junio C Hamano <gitster@pobox.com>
To: sverre@rabbelier.nl
Cc: david@statichacks.org, git@vger.kernel.org
Subject: Re: [PATCH] Added test case for mirror to not push stash refs
Date: Thu, 06 Nov 2008 08:58:10 -0800 [thread overview]
Message-ID: <7vod0siyfx.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: bd6139dc0811060034q14e47232n5f00471e5420efbb@mail.gmail.com
"Sverre Rabbelier" <alturin@gmail.com> 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.
next prev parent reply other threads:[~2008-11-06 17:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 0:34 error pushing stash ? David Bryson
2008-10-07 0:40 ` Shawn O. Pearce
2008-10-28 21:17 ` Jeff King
2008-10-28 21:23 ` Jeff King
2008-11-06 3:33 ` [PATCH] Added test case for mirror to not push stash refs david
2008-11-06 8:34 ` Sverre Rabbelier
2008-11-06 16:58 ` Junio C Hamano [this message]
2008-11-06 17:39 ` david
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vod0siyfx.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=david@statichacks.org \
--cc=git@vger.kernel.org \
--cc=sverre@rabbelier.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).