Skip to content
Snippets Groups Projects
pre-commit 140 B
Newer Older
  • Learn to ignore specific revisions
  • #!/bin/bash
    exec git diff --cached | scripts/checkpatch.pl --no-tree --no-signoff --ignore CONST_STRUCT,SPDX_LICENSE_TAG,LINE_CONTINUATIONS