tpope/vim-fugitive — Issue #144: File is in submodule
Author: lordi
Created: 2012-01-23 09:47:48+00:00
State: open

When I use :Gwrite on a file ```P``` that is in a submodule repository ```M``` of another repository ```R```, I get the error message:

fugitive: fatal: Path 'P' is in submodule 'M'

Is there a way to make fugitive work with the submodule ```M``` (e.g., add ```P``` to ```M```), instead of attempting to add it to the cwd repository? It works fine when ```M``` is simply a subdirectory and not a submodule of ```R```.