Skip to content

Add support for .git-file. #89

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

Merged
merged 2 commits into from
Nov 19, 2014
Merged

Add support for .git-file. #89

merged 2 commits into from
Nov 19, 2014

Conversation

marcusrbrown
Copy link
Contributor

This extends the Repo class to work with repositories using the .git-file mechanism: http://kerneltrap.org/mailarchive/git/2008/2/4/719364. Tests included.

This has the side effect of fixing the tests for submodules created by the current Git CLI, which is why I put the .git-file tests in front of those tests.

@michielvleugel
Copy link

+1! Since Git 1.7.8 the .git file mechanism is default and without this patch, submodule handling in GitPython is broken!

@Byron Byron added this to the v0.3.3 milestone Nov 19, 2014
@Byron Byron merged commit 3621c06 into gitpython-developers:0.3 Nov 19, 2014
Byron added a commit that referenced this pull request Nov 19, 2014
@Byron
Copy link
Member

Byron commented Nov 19, 2014

Thank you !
As the git-file functionality was already implemented in #99 , I have only taken the test that was missing previously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants