Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
Byron merged 1 commit intogitpython-developers:0.3fromniyaton:separate-git-dir
Nov 19, 2014

Conversation

niyaton
Copy link
Contributor

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.

@jmlundberg
Copy link

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).

@ByronByron added this to thev0.3.3 milestoneNov 19, 2014
@ByronByron merged commit53b65e0 intogitpython-developers:0.3Nov 19, 2014
@Byron
Copy link
Member

Thank you !
I had to make a minor forread_gitfile to actually work, and a test-case is yet to be written as well. Therefore I could only verify that it doesn't fail/break existing functionality.

@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.

@ByronByron mentioned this pull requestNov 19, 2014
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
v0.3.3
Development

Successfully merging this pull request may close these issues.

3 participants
@niyaton@jmlundberg@Byron

[8]ページ先頭

©2009-2025 Movatter.jp