Drew Crawford [off-list ref] writes:
Ideally it would be better to emit an error-message from a script
higher up the calling chain that would be more descriptive about the
problem (such as suggesting no branch is specified).--
Ok, I used git rev-parse --verify and I have this working now. Will
send to Junio in the batch with fixes from other folks.
Thanks for catching this!
-David