THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

update 283B

1234567891011121314
  1. #!/usr/bin/env bash
  2. exitcodes=""
  3. hookname=$(basename $0)
  4. GIT_DIR=${GIT_DIR:-$(dirname $0)}
  5. for hook in ${GIT_DIR}/hooks/${hookname}.d/*; do
  6. test -x "${hook}" || continue
  7. "${hook}" $1 $2 $3
  8. exitcodes="${exitcodes} $?"
  9. done
  10. for i in ${exitcodes}; do
  11. [ ${i} -eq 0 ] || exit ${i}
  12. done