annotate vendor/drupal/coder/.git/hooks/pre-applypatch.sample @ 19:fa3358dc1485 tip

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