branch: factor out "upstream is not a branch" error messages
commite2b6aa5f1b85d5f49f0cf280162cf216e55e1eba
authorJeff King <peff@peff.net>
Tue, 2 Apr 2013 19:03:55 +0000 (2 15:03 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2013 23:14:08 +0000 (2 16:14 -0700)
treec911be1938db0942763e02b0ecac082cdc113c9f
parent8a3e5ecdaa9fc45d7af58eb95bba0f39ca625a8d
branch: factor out "upstream is not a branch" error messages

This message is duplicated, and is quite long. Let's factor
it out, which avoids the repetition and the long lines. It
will also make future patches easier as we tweak the
message.

While we're at it, let's also mark it for translation.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c