Skip to content

Commit

Permalink
Show git diff after all pre-commit hooks to be able to see auto-forma…
Browse files Browse the repository at this point in the history
…t/fix changes (#13124)
  • Loading branch information
dbast committed Sep 19, 2023
1 parent dea94d4 commit e468605
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,11 @@ repos:
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: local
hooks:
- id: git-diff
name: git diff
entry: git diff --exit-code
language: system
pass_filenames: false
always_run: true

0 comments on commit e468605

Please sign in to comment.