Skip to content

don't crash on cygwin mismatch check#1721

Merged
asottile merged 1 commit intomasterfrom
dont_crash_on_cygwin_check
Nov 28, 2020
Merged

don't crash on cygwin mismatch check#1721
asottile merged 1 commit intomasterfrom
dont_crash_on_cygwin_check

Conversation

@asottile
Copy link
Copy Markdown
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

init-templatedir installing hooks to wrong directory

1 participant