From: Jens Lehmann Date: Tue, 7 Jan 2014 21:32:37 +0000 (+0100) Subject: rm: better document side effects when removing a submodule X-Git-Tag: v1.9-rc0~11^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/bbad9f9314f658b5c0f302148fc9780f5788dcd8?ds=inline;hp=bbad9f9314f658b5c0f302148fc9780f5788dcd8 rm: better document side effects when removing a submodule The "Submodules" section of the "git rm" documentation mentions what will happen when a submodule with a gitfile gets removed with newer git. But it doesn't talk about what happens when the user changes between commits before and after the removal, which does not remove the submodule from the work tree like using the rm command did the first time. Explain what happens and what the user has to do manually to fix that in the new BUGS section. Also document this behavior in a new test. Signed-off-by: Jens Lehmann Signed-off-by: Junio C Hamano ---