diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-02-12 09:49:37 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-12 21:13:35 (GMT) |
commit | c64a8d200f4109df86c6d4716ea4da58df450e34 (patch) | |
tree | eaf8198f7aa5a888178e7a807dcc482c988b30fe /bundle.c | |
parent | 9f792bb4721066ce27ee98c4ad38d6d146b64fcf (diff) | |
download | git-c64a8d200f4109df86c6d4716ea4da58df450e34.zip git-c64a8d200f4109df86c6d4716ea4da58df450e34.tar.gz git-c64a8d200f4109df86c6d4716ea4da58df450e34.tar.bz2 |
worktree move: accept destination as directory
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>
Diffstat (limited to 'bundle.c')
0 files changed, 0 insertions, 0 deletions