From: Junio C Hamano Date: Fri, 05 Aug 2016 16:18:26 GMT Subject: Re: [PATCH] git mv: do not keep slash in `git mv dir non-existing-dir/` Message-ID: In-Reply-To: Johannes Schindelin writes: > Please note that t7001 *specifically* tests for the opposite of what you > want, then ;-) Yes, I know. I am torn. It seems "mv A B/" (not "git mv") when B does not exist does the same "wrong" thing, so the existing behaviour is at least consistent with the command line tools on Linux, and more importantly, existing users of "git mv A B/" have expected it to ignore the trailing slash for a long time, so let's not change the expected behaviour. Thanks.