Raw
1 #!/bin/sh
2 #
3 # Perform style check
4 #
5
6 baseCommit=$1
7
8 git clang-format --style=file:.clang-format \
9 --diff --extensions c,h "$baseCommit"