From: Jeff King Date: Wed, 06 Jan 2010 12:05:46 GMT Subject: Re: [PATCH v3 2/6] t5541-http-push.sh: add test for unmatched, non-fast-forwarded refs Message-ID: <20100106120546.GB7221@coredump.intra.peff.net> In-Reply-To: <20100105180132.e573fff2.rctay89@gmail.com> On Tue, Jan 05, 2010 at 06:01:32PM +0800, Tay Ray Chuan wrote: > > I don't understand what you're testing here. If it's not matched, then > > how is it a non-fast-forward? Isn't it simply unmatched? > > Let me rephrase this as: > > Some refs can only be matched to a remote ref with an explicit > refspec. When such a ref is a non-fast-forward of its remote ref, > test that pushing them (with the explicit refspec specified) fails > with a non-fast-foward-type error. Thanks, that makes sense to me now. -Peff