mp-commit: disable git hooks

These commits are temporary, so we do not care about stuff like
trailing whitespaces at all.
This commit is contained in:
Gleb Fotengauer-Malinovskiy 2017-02-08 20:24:06 +03:00 committed by Michael Shigorin
parent f09b70e343
commit 1f63af0159

View File

@ -20,7 +20,7 @@ if type -t git >&/dev/null && pushd "$1" >/dev/null; then
fi
if [ -n "$(git status -s)" ]; then
git add . \
&& git commit -qam "$2" \
&& git commit -anq -m "$2" \
|| fatal "git add/commit failed"
fi
popd >/dev/null