From 003b71533bf3fca23cf5bf3c8f813f6e98be392a Mon Sep 17 00:00:00 2001 From: "Stuart P. Bentley" Date: Wed, 13 Aug 2014 18:51:28 -0700 Subject: [PATCH] Add -hook suffix to githooks hooks (close #8) --- git-hooks/post-receive | 2 +- git-hooks/post-update | 2 +- git-hooks/pre-receive | 2 +- git-hooks/update | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/git-hooks/post-receive b/git-hooks/post-receive index 109e9fa..23f1875 100755 --- a/git-hooks/post-receive +++ b/git-hooks/post-receive @@ -1,3 +1,3 @@ #!/usr/bin/env bash set -eo pipefail; [[ $PLUSHU_TRACE ]] && set -x -"$PLUSHU_ROOT/lib/plushook" -i git-post-receive "$@" +"$PLUSHU_ROOT/lib/plushook" -i git-post-receive-hook "$@" diff --git a/git-hooks/post-update b/git-hooks/post-update index bfee3a8..13fdc4e 100755 --- a/git-hooks/post-update +++ b/git-hooks/post-update @@ -1,3 +1,3 @@ #!/usr/bin/env bash set -eo pipefail; [[ $PLUSHU_TRACE ]] && set -x -"$PLUSHU_ROOT/lib/plushook" git-post-update "$@" +"$PLUSHU_ROOT/lib/plushook" git-post-update-hook "$@" diff --git a/git-hooks/pre-receive b/git-hooks/pre-receive index 658fab3..3e1d335 100755 --- a/git-hooks/pre-receive +++ b/git-hooks/pre-receive @@ -1,3 +1,3 @@ #!/usr/bin/env bash set -eo pipefail; [[ $PLUSHU_TRACE ]] && set -x -"$PLUSHU_ROOT/lib/plushook" -i git-pre-receive "$@" +"$PLUSHU_ROOT/lib/plushook" -i git-pre-receive-hook "$@" diff --git a/git-hooks/update b/git-hooks/update index ebc2d09..5d3df1e 100755 --- a/git-hooks/update +++ b/git-hooks/update @@ -1,3 +1,3 @@ #!/usr/bin/env bash set -eo pipefail; [[ $PLUSHU_TRACE ]] && set -x -"$PLUSHU_ROOT/lib/plushook" git-update "$@" +"$PLUSHU_ROOT/lib/plushook" git-update-hook "$@"