-
Notifications
You must be signed in to change notification settings - Fork 533
Doesn't Handle Submodules #424
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
Comments
Note from git documentation:
|
As a workaround, it appears to work if I set the
For a full fix, I think
|
Now I see there's already code to handle this in |
Ah. The The check needs to be added to |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This needs to be re-opened. |
This was fixed in #499 |
Subject of the issue
The project doesn't appear to handle repositories loaded as submodules.
Your environment
Steps to reproduce
foo
bar
bar
as a submodule tofoo
g = Git.open("foo/bar")
g.config
Expected behaviour
g.config
returns a hash of configuration properties for thebar
repository.Actual behaviour
Errno::ENOTDIR (Not a directory @ dir_chdir - /Users/someuser/projects/foo/bar/.git)
Full output:
The text was updated successfully, but these errors were encountered: