diff options
author | Max Kirillov <max@max630.net> | 2014-11-30 15:24:58 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-01 11:00:19 -0800 |
commit | ee4fb8435e2186323c6a91d26d1572da12b5d033 (patch) | |
tree | 88426fec5af7b2164d0a989e1fa2edeb37f6268e /t/t5100/patch0003 | |
parent | t2025: add a test to make sure grafts is working from a linked checkout (diff) | |
download | tgif-ee4fb8435e2186323c6a91d26d1572da12b5d033.tar.xz |
checkout: do not fail if target is an empty directory
Non-recursive checkout creates empty directpries in place of submodules.
If then I try to "checkout --to" submodules there, it refuses to do so,
because directory already exists.
Fix by allowing checking out to empty directory. Add test and modify the
existing one so that it uses non-empty directory.
Signed-off-by: Max Kirillov <max@max630.net>
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 't/t5100/patch0003')
0 files changed, 0 insertions, 0 deletions