Thread (59 messages) 59 messages, 7 authors, 2018-03-10

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

From: Kaartic Sivaraam <hidden>
Date: 2017-09-23 10:50:50

On Thursday 21 September 2017 02:27 AM, Stefan Beller wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help