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

Confine formatting-related hooks to meaningful stages #75

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Confine formatting-related hooks to meaningful stages #75

merged 1 commit into from
Jun 7, 2023

Conversation

xaver-k
Copy link
Contributor

@xaver-k xaver-k commented Jun 7, 2023

Fix for #74

Prevent these hooks to be default-installed for stages that either do not
make sense or would run the hooks on the files holding commit-messages & Co.
The later can lead to problems as git automatically inserts comments that
include tabs into the commit message for certain operations, such as
amending a commit.
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.

2 participants