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.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to