On Thu, May 2, 2013 at 12:28 PM, Ramkumar Ramachandra <artagnon@xxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html