diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-13 15:35:50 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-13 15:35:50 -0800 |
commit | bc8d4783cac3c942fc9e8cf2f3eae4aea8cab5cb (patch) | |
tree | b200ab4028da4089da318e866da51c560abaaf2d /git-mv.txt | |
parent | 21bc18b3b222ee68dc0f58c7ff6c92fd44938b2d (diff) | |
download | git-htmldocs-bc8d4783cac3c942fc9e8cf2f3eae4aea8cab5cb.tar.gz |
Autogenerated HTML docs for v1.8.5.3-321-g14598
Diffstat (limited to 'git-mv.txt')
-rw-r--r-- | git-mv.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/git-mv.txt b/git-mv.txt index b1f79881e..e4531325c 100644 --- a/git-mv.txt +++ b/git-mv.txt @@ -52,6 +52,18 @@ core.worktree setting to make the submodule work in the new location. It also will attempt to update the submodule.<name>.path setting in the linkgit:gitmodules[5] file and stage that file (unless -n is used). +BUGS +---- +Each time a superproject update moves a populated submodule (e.g. when +switching between commits before and after the move) a stale submodule +checkout will remain in the old location and an empty directory will +appear in the new location. To populate the submodule again in the new +location the user will have to run "git submodule update" +afterwards. Removing the old directory is only safe when it uses a +gitfile, as otherwise the history of the submodule will be deleted +too. Both steps will be obsolete when recursive submodule update has +been implemented. + GIT --- Part of the linkgit:git[1] suite |