From: Kaartic Sivaraam Date: Sat, 23 Sep 2017 10:50:35 GMT Subject: Re: [RFC PATCH 5/5] builtin/branch: give more useful error messages when renaming Message-ID: <2e91fd2e-3c8a-ff93-ff6f-4a30191d1249@gmail.com> In-Reply-To: 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