• Jens Lehmann's avatar
    rm: better document side effects when removing a submodule · bbad9f93
    Jens Lehmann authored
    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: default avatarJens Lehmann <Jens.Lehmann@web.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
git-rm.txt 6.23 KB