spdr870/gitextensions — pull request #1093 by j-a-b (2012-07-04 03:28:59+00:00)
Title: Don't warn on push to default branch

This avoids warning that a branch doesn't exist if it is the default branch for
the remote that is being pushed to. Since the branch has been configured
as part of the remote, it is not likely to be a transient typo.

This is useful for workflows that involve creating push shortcuts for non-public
branches when using systems like Gerrit.

Factors out parsing of the "push" setting value so it can be written just once.