Chris@0: #!/bin/sh Chris@0: # Chris@0: # An example hook script to verify what is about to be committed Chris@0: # by applypatch from an e-mail message. Chris@0: # Chris@0: # The hook should exit with non-zero status after issuing an Chris@0: # appropriate message if it wants to stop the commit. Chris@0: # Chris@0: # To enable this hook, rename this file to "pre-applypatch". Chris@0: Chris@0: . git-sh-setup Chris@0: precommit="$(git rev-parse --git-path hooks/pre-commit)" Chris@0: test -x "$precommit" && exec "$precommit" ${1+"$@"} Chris@0: :