Skip to content

Conversation

@phodge
Copy link

@phodge phodge commented Sep 15, 2019

If you are nesting git repos inside other git repos using git's submodule
feature, then you might actually want the parent repo to be the project root
not just for itself but also for nested repos.

This PR adds an option g:projectroot_nested_git_submodule which will cause projectroot to read the contents of '.git' marker files and check if they are indicate a git submodule inside another git repo. If this is the case, then projectroot will continue searching up the directory tree for
another '.git' marker file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant