Re: [PATCH 2/5] branch: factor out "upstream is not a branch" error messages

2013-04-02 Thread Garrett Cooper
On Tue, Apr 2, 2013 at 12:36 PM, Garrett Cooper wrote: > On Tue, Apr 2, 2013 at 12:03 PM, Jeff King wrote: >> >> 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 >> mes

Re: [PATCH 2/5] branch: factor out "upstream is not a branch" error messages

2013-04-02 Thread Garrett Cooper
On Tue, Apr 2, 2013 at 12:03 PM, Jeff King wrote: > > 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

[PATCH 2/5] branch: factor out "upstream is not a branch" error messages

2013-04-02 Thread Jeff King
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 --- branch.c | 7 +-- 1 file c