Thread (1 message) 1 message, 1 author, 2016-08-05

Re: [PATCH] git mv: do not keep slash in `git mv dir non-existing-dir/`

From: Junio C Hamano <hidden>
Date: 2016-08-05 16:18:33

Johannes Schindelin [off-list ref] 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.






Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help