Fix "off" option for git indentation hook
This commit is contained in:
parent
5157e6ecff
commit
91d7bd2224
1 changed files with 2 additions and 2 deletions
|
@ -45,10 +45,10 @@ case $indentation in
|
||||||
done
|
done
|
||||||
reset
|
reset
|
||||||
;;
|
;;
|
||||||
"")
|
""|off)
|
||||||
echo "Skipping indentation check"
|
echo "Skipping indentation check"
|
||||||
;;
|
;;
|
||||||
*|off)
|
*)
|
||||||
echo "Cannot check for indentation type \033[31m'$indentation'\033[00m"
|
echo "Cannot check for indentation type \033[31m'$indentation'\033[00m"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue