Merge branch 'js/mv-dir-to-new-directory'
commit2c44b7a53bf49430f231a71668d2a1c4ea9f5591
authorJunio C Hamano <gitster@pobox.com>
Fri, 12 Aug 2016 16:47:37 +0000 (12 09:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Aug 2016 16:47:37 +0000 (12 09:47 -0700)
tree8ba87c65654b90145632e82f7e636bc2c5b8f55a
parent0a315befa7cb3132ab2ee6caa7dccb2299b7a348
parent189d035e67b1f8cdbb1dbd388efd1b7434f34b04
Merge branch 'js/mv-dir-to-new-directory'

"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/`