Skip to content

Confine formatting-related hooks to meaningful stages - #75

Merged
Lucas-C merged 1 commit into
Lucas-C:masterfrom
xaver-k:hook_stages_fix
Jun 7, 2023
Merged

Lucas-C merged 1 commit into
Lucas-C:masterfrom
xaver-k:hook_stages_fix

Conversation

@xaver-k

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

Copy link
Copy Markdown
Contributor

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