annotate vendor/drupal/coder/.git/hooks/pre-applypatch.sample @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents modules/contrib/migrate_upgrade/.git/hooks/pre-applypatch.sample@c75dbcec494b
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 :