Skip to content

Commit

Permalink
Add -hook suffix to githooks hooks (close #8)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartpb committed Aug 14, 2014
1 parent d27e6be commit 003b715
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion git-hooks/post-receive
Original file line number Diff line number Diff line change
@@ -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 "$@"
2 changes: 1 addition & 1 deletion git-hooks/post-update
Original file line number Diff line number Diff line change
@@ -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 "$@"
2 changes: 1 addition & 1 deletion git-hooks/pre-receive
Original file line number Diff line number Diff line change
@@ -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 "$@"
2 changes: 1 addition & 1 deletion git-hooks/update
Original file line number Diff line number Diff line change
@@ -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 "$@"

0 comments on commit 003b715

Please sign in to comment.