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

don't crash on cygwin mismatch check #1721

Merged
merged 1 commit into from Nov 28, 2020
Merged

Conversation

@asottile
Copy link
Member

@asottile asottile commented Nov 28, 2020

Resolves #1720

The cygwin check depends on being in a git repo, but not all of the pre-commit commands need a git repo (such as gc / clean / init-templatedir) -- allow the cygwin check to fail silently here

@asottile asottile merged commit 92ce2dc into master Nov 28, 2020
2 checks passed
2 checks passed
pre-commit.ci - pr checks completed successfully
Details
pre-commit.pre-commit #20201128.2 succeeded
Details
@asottile asottile deleted the dont_crash_on_cygwin_check branch Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant