Re: [RFC PATCH v3 4/4] builtin/branch: give more useful error messages when renaming
On Thu, Nov 02, 2017 at 12:24:07PM +0530, Kaartic Sivaraam wrote:
> From: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
>
> When trying to rename an inexistent branch to with a name of a branch
This sentence does not read well. Probably s/with a/the/ helps.
Show 8 quoted lines
> that already exists the rename failed specifying the new branch name
> exists rather than specifying that the branch trying to be renamed
> doesn't exist.
>
> [..]
>
> Note: Thanks to the strbuf API that made it possible to easily construct
> the composite error message strings!
I'm not sure this note adds a lot, since the strbuf API is not that new.
Kevin