Re: [RFC PATCH 5/5] builtin/branch: give more useful error messages when renaming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 21 September 2017 02:27 AM, Stefan Beller wrote:

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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux