From: Felipe Contreras Date: Thu, 02 May 2013 17:30:37 GMT Subject: Re: [PATCH 2/9] t1508 (at-combinations): test branches separately Message-ID: In-Reply-To: On Thu, May 2, 2013 at 12:28 PM, Ramkumar Ramachandra wrote: > Felipe Contreras wrote: >> I'm not sure about this. If we introduce a check that fails, we would >> have to do: >> >> check HEAD refs/heads/new-branch "" failure >> >> Which doesn't seem clean. Perhaps it makes more sense to always add >> the type of check: >> >> check HEAD ref refs/heads/new-branch > > I think you misunderstood. Failure looks like this: > > check "@@{u}" ref refs/heads/upstream-branch failure > > And corresponding success like this: > > check "@@{u}" refs/heads/upstream-branch > > We can make the "ref" compulsory if you like. I thought about it too. I think it's less surprising. -- Felipe Contreras