You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mikioh
changed the title
x/codereview: complain when branch upstream is not master and does not have a dot in it
x/codereview/git-codereview: complain when branch upstream is not master and does not have a dot in it
Aug 17, 2015
mikioh
changed the title
x/codereview/git-codereview: complain when branch upstream is not master and does not have a dot in it
x/review/git-codereview: complain when branch upstream is not master and does not have a dot in it
Aug 17, 2015
The upstream must be called master or have a dot in it.
For it to do anything, yes, however, it should not complain otherwise. It should just ignore it and do nothing. Otherwise it means I can't push to my own github without codereview interfering.
git-codereview attempts to put a branch prefix on CLs when they're not on master. It uses the branch upstream for this, which works until it doesn't.
There's at least one invariant we can use to detect that something has gone wrong: The upstream must be called master or have a dot in it.
cc @rsc
The text was updated successfully, but these errors were encountered: