Debian Codegraph @

script/git-hooks/pre-commit-hook

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 set -eu
4
5 gitdir=$(gitscip-shell system . . git. rev-parse --show-toplevel)
6 if [scip-shell system . . `[`. $? -ne 0 ]; then
7 echoscip-shell system . . echo. "git rev-parse --show-toplevel failed"
8 exit 1
9 fi
10
11 if [scip-shell system . . `[`. ! -f ${gitdir}/script/git-hooks/pre-commit-script ]; then
12 exit 0
13 fi
14
15 ${gitdir}/script/git-hooks/pre-commit-script || exit $?
16
17 exit 0