Files @ f72ead70a22f
Branch filter:

Location: kallithea/scripts/run-all-cleanup - annotation

domruf
hook: the git hooks should exit with the return value of the handlers

Like with mercurial hooks, returning a non-zero value means abort the operation
(if possible). So, if for example a hook returns a non-zero value to abort an
unauthorized push, the git hook script needs to exit with that value.
#!/bin/sh

# Convenience script for running various idempotent source code cleanup scripts

set -e
set -x

scripts/docs-headings.py
scripts/generate-ini.py
scripts/whitespacecleanup.sh