Re: [RFC PATCH 5/5] builtin/branch: give more useful error messages when renaming
- From
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
- Date
- Sep 23, 2017, 10:50 UTC
- Message-ID
- <2e91fd2e-3c8a-ff93-ff6f-4a30191d1249@gmail.com>
- In-Reply-To
- <CAGZ79kYMagCFS765NtOBDxDJYaXMyA4-=xxi3JMxbga638b6Yg@mail.gmail.com>
On Thursday 21 September 2017 02:27 AM, Stefan Beller wrote:
Show 7 quoted lines
> >> It's conventional to report that 'tset' doesn't exist rather than >> reporting that 'master' exists, the same way the 'mv' command does. >> >> $ git branch -m tset master > This is not the 'mv' command as promised? So this is just > to demonstrate the (still fictional) better error message?
Yes
> Maybe use a real 'mv' command here?
It didn't want to do that to avoid preserve continuity. I'll change the commit message a little to fix this.
--- Kaartic