Skip to content
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

Prevent git from considering .git in parent directories #32

Merged
merged 1 commit into from
Apr 19, 2018

Conversation

bpineau
Copy link
Owner

@bpineau bpineau commented Apr 19, 2018

When the target directory doesn't (yet) contains .git, git
will look for this .git directory recursively on parent
directories. We'd rather have git to fail rather than using
a random .git in an upper directory.

When the target directory doesn't (yet) contains .git, git
will look for this .git directory recursively on parent
directories. We'd rather have git to fail rather than using
a random .git in an upper directory.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 91.388% when pulling 29f197e on fix_git_parent_dir into 33eb3d1 on master.

@bpineau bpineau merged commit 4afbd65 into master Apr 19, 2018
@bpineau bpineau deleted the fix_git_parent_dir branch April 19, 2018 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants