annotate modules/contrib/migrate_upgrade/.git/hooks/pre-applypatch.sample @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
rev   line source
Chris@0 1 #!/bin/sh
Chris@0 2 #
Chris@0 3 # An example hook script to verify what is about to be committed
Chris@0 4 # by applypatch from an e-mail message.
Chris@0 5 #
Chris@0 6 # The hook should exit with non-zero status after issuing an
Chris@0 7 # appropriate message if it wants to stop the commit.
Chris@0 8 #
Chris@0 9 # To enable this hook, rename this file to "pre-applypatch".
Chris@0 10
Chris@0 11 . git-sh-setup
Chris@0 12 precommit="$(git rev-parse --git-path hooks/pre-commit)"
Chris@0 13 test -x "$precommit" && exec "$precommit" ${1+"$@"}
Chris@0 14 :