Re: Bug with "git mv" and submodules, and with "git submodule add something --force"
From: Jonathan Nieder <hidden> Date: 2018-10-19 20:58:41
Stefan Beller wrote:
Maybe for now we can do with just an update of the documentation/bugs
section and say we cannot move files in and out of submodules?
I think we have some existing logic to prevent "git add"-ing a file
within a submodule to the superproject, for example.
So "git mv" should learn the same trick. And perhaps the trick needs
to be moved down a layer (e.g. into the index API). Hints?
Thanks,
Jonathan