Skip to content
Snippets Groups Projects
Commit 9d9ec119 authored by Lars Bilke's avatar Lars Bilke
Browse files

[hook] Added git diff --check.

parent 28660c6c
No related branches found
No related tags found
No related merge requests found
......@@ -4,5 +4,12 @@ repos:
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md, --markdown-linebreak-ext=pandoc]
- repo: local
hooks:
- id: git-diff-check
name: git-diff-check
entry: git diff --check --cached -- ':!*.md' ':!*.pandoc' ':!*.asc' ':!*.dat' ':!*.ts'
language: system
stages: [commit, manual]
exclude: 'ThirdParty/*|Tests/Data/*'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment