3 version=`gnuindent --version 2>/dev/null`
4 if test "x$version" = "x"; then
5 version=`indent --version 2>/dev/null`
6 if test "x$version" = "x"; then
7 echo "GStreamer git pre-commit hook:"
8 echo "Did not find GNU indent, please install it before continuing."
16 case `$INDENT --version` in
20 echo "Did not find GNU indent, please install it before continuing."
21 echo "(Found $INDENT, but it doesn't seem to be GNU indent)"
26 # Run twice. GNU indent isn't idempotent
31 --case-brace-indentation0 \
33 --braces-after-struct-decl-line \
37 --dont-line-up-parentheses \
38 --continuation-indentation4 \
42 --leave-preprocessor-space \