]> git.ipfire.org Git - thirdparty/git.git/commit - t/t7001-mv.sh
add test for bug in git-mv for recursive submodules
authorHeiko Voigt <hvoigt@hvoigt.net>
Fri, 15 Sep 2017 11:50:21 +0000 (13:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Sep 2017 00:37:34 +0000 (09:37 +0900)
commitc514167df255f7d67bb08646b95e2afbb15ac787
treee6df26302fbffff50b5429a3e917951dc1145f32
parent94c9fd268d4287f6fbfef84793288479905a7e48
add test for bug in git-mv for recursive submodules

When using git-mv with a submodule it will detect that and update the
paths for its configurations (.gitmodules, worktree and gitfile). This
does not work for recursive submodules where a user renames the root
submodule.

We discovered this fact when working on on-demand fetch for renamed
submodules. Lets add a test to document.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7001-mv.sh