Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
sj
/
damo.git
/
HEAD
/
.
/
tests
/
pre-commit
/
test.sh
blob: 8bbfd5318ae73a81cd78c690d1961b2776740688 [
file
] [
log
] [
blame
]
#!/bin/bash
if
!
which pre
-
commit
&>
/
dev
/
null
then
echo
"pre-commit not installed. skip."
exit
0
fi
if
!
pre
-
commit run
--
all
-
file
then
echo
"FAIL pre-commit"
exit
1
fi
echo
"PASS pre-commit"
exit
0