Skip to content

GitPython in submodules #155

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
remram44 opened this issue Apr 24, 2014 · 1 comment
Closed

GitPython in submodules #155

remram44 opened this issue Apr 24, 2014 · 1 comment

Comments

@remram44
Copy link
Contributor

Using GitPython in a submodule doesn't work.

Python 2.7.6, GitPython 0.3.2 RC1 on Windows.

I have a repository 'a' with a submodule 'b'. I do:

>>> repo = git.Repo('C:\a\b')
>>> repo
(git.Repo "C:\a\.git")
>>> # (should be "C:\a\.git\modules\b")
>>> repo.heads
(... a's branches...)
@remram44 remram44 changed the title GitPython is submodules GitPython in submodules Apr 24, 2014
@remram44
Copy link
Contributor Author

Confirmed on Debian Testing (8.0) Jessie (transcript).

@Byron Byron closed this as completed in ec0b85e Apr 27, 2014
Byron added a commit that referenced this issue Apr 27, 2014
Fixes creating a Repo for a submodule (#155)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant