OSDN Git Service

Merge branch 'js/mv-dir-to-new-directory' into maint
authorJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 04:35:54 +0000 (21:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 04:35:54 +0000 (21:35 -0700)
commit8e7c580e34a95576966516d2a6d45fd2c4c00180
tree5b1a55845d3836f246269bfb7d9c0c6a3dd610ca
parent5e09f1dd30dea9647ee58556b90caefdd8533869
parent189d035e67b1f8cdbb1dbd388efd1b7434f34b04
Merge branch 'js/mv-dir-to-new-directory' into maint

"git mv dir non-existing-dir/" did not work in some environments
the same way as existing mainstream platforms.  The code now moves
"dir" to "non-existing-dir", without relying on rename("A", "B/")
that strips the trailing slash of '/'.

* js/mv-dir-to-new-directory:
  git mv: do not keep slash in `git mv dir non-existing-dir/`