transmission/extras/pre-commit

7 lines
131 B
Bash
Executable File

#!/usr/bin/env sh
[ -z "$TR_SKIP_HOOKS" ] || exit 0
root="$(git rev-parse --show-toplevel)"
exec "${root}/code_style.sh" --check