From: Michal Sojka Date: Tue, 13 Oct 2020 21:26:56 +0000 (+0200) Subject: Catch errors in pre-commit hook X-Git-Tag: 20201217~7 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/4a3ff72551513ff412108dbc90f96ac55df65e1d Catch errors in pre-commit hook --- diff --git a/contrib/hooks/pre-commit b/contrib/hooks/pre-commit index 41e4636..7f4a498 100755 --- a/contrib/hooks/pre-commit +++ b/contrib/hooks/pre-commit @@ -2,7 +2,7 @@ # git pre-commit hook -set -e +set -eo pipefail # Make README.pod be always in sync with novaboot - work with objects # in the index (what is being committed), not with what is in the