Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Added support for separeted git dir.#99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
jmlundberg commentedSep 11, 2013
I tried this and it work great when doing r=git.Repo(). It seems to not work for submodules: git.Repo().submodules[0].module_exists() still reports false if it uses a .git file. That is the case if git submodule update was first done using modern versions of command line git (at least 1.8.3.1 but likely earlier versions as well). |
Thank you ! @jmlundberg The submodule implementation has plenty of issues right now, the one you mention might be related to the 'new' way of storing submodules, which is not yet supported by the submodule implementation. These issues will be handled separately. |
Git-init command supported --separate-git-dir option.
The repository initialized with this option manage the repository by using .git file instead of the .git directory.
I added support for these type repositories.