Merge branch 'jk/set-upstream-error-cases'
commit88dccb6c989735e2faa24fa78d441a7a1c998b36
authorJunio C Hamano <gitster@pobox.com>
Sun, 7 Apr 2013 21:31:08 +0000 (7 14:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Apr 2013 21:31:08 +0000 (7 14:31 -0700)
tree380c7a391b6d775df53d9446a0bec23e7a870783
parent9a11f13d9e5cfa1db0a3f42bc9ee886ffa7a5a22
parentcaa2036b3b4105bfe34f01115e4fb34b78a4db86
Merge branch 'jk/set-upstream-error-cases'

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
t/t3200-branch.sh