branch: give advice when tracking start-point is missing
authorJeff King <peff@peff.net>
Tue, 2 Apr 2013 19:05:12 +0000 (15:05 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2013 23:14:13 +0000 (16:14 -0700)
If the user requests to --set-upstream-to a branch that does
not exist, then either:

1. It was a typo.

2. They thought the branch should exist.

In case (1), there is not much we can do beyond showing the
name we tried to use. For case (2), though, we can help to
guide them through common workflows.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found