Merge branch 'jk/set-upstream-error-cases'
authorJunio C Hamano <gitster@pobox.com>
Sun, 7 Apr 2013 21:31:08 +0000 (14:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Apr 2013 21:31:08 +0000 (14:31 -0700)
The handing by "git branch --set-upstream-to" against various forms
of errorneous inputs were suboptimal.

* jk/set-upstream-error-cases:
branch: give advice when tracking start-point is missing
branch: mention start_name in set-upstream error messages
branch: improve error message for missing --set-upstream-to ref
branch: factor out "upstream is not a branch" error messages
t3200: test --set-upstream-to with bogus refs

1  2 
t/t3200-branch.sh
Simple merge