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 matching bogus parent git directories #687

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jameshilliard
Copy link
Contributor

@jameshilliard jameshilliard commented Jul 26, 2024

If our current directory is not tracked by git we should assume that the project does not use git as the vcs as any match will be a false positive.

This is a port of this vcs validation check which I added to fix a bug in poetry-core.

Luckily this bug doesn't seem to affect flit-core but I think it's probably a good idea to port the fix to flit anyways.

If our current directory is not tracked by git we should assume
that the project does not use git as the vcs as any match will
be a false positive.
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

1 participant