mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-24 16:28:59 -05:00
Similar to "mv a b/", which is actually "mv a b/a", we extract basename of source worktree and create a directory of the same name at destination if dst path is a directory. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
21 KiB
21 KiB