If I'm not mistaken, following this commit 3c2cdb4 the %(branch) variable is now empty for commits that are not directly referenced.
So I had this key binding:
bind main P !git push %(remote) %(commit):%(branch)
That now stopped working.
I've changed %(branch) to %(repo:head) and got it to work again.
What I don't understand is why %(remote) is still set?
I would expect to use %(repo:remote) instead, but that is set to 'origin/master' instead of the expected 'origin' and git fails to push.
Thoughts?