DescriptionImprove error message when the upstream branch is wrong.
Otherwise, I get a stack trace, which is annoying. Here's an example:
$ git cl upload
Current branch help_text is up to date.
Failed to diff against upstream branch refs/heads/foo!
This branch probably doesn't exist anymore. To reset the
tracking branch, please run
git branch --set-upstream help_text trunk
replacing trunk with origin/master or the relevant branch
R=dpranke@chromium.org
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106175
Patch Set 1 #Messages
Total messages: 4 (0 generated)
|