Use git-* as a pluginhook prefix

This commit is contained in:
Jose Diaz-Gonzalez
2014-11-23 21:02:40 -05:00
parent aa1c7f6fa4
commit 463f725872

View File

@@ -36,9 +36,9 @@ case "$1" in
git-upload-pack)
APP="$(echo $2 | perl -pe 's/(?<!\\)'\''//g' | sed 's/\\'\''/'\''/g')"
pluginhook pre-pull $APP
pluginhook git-pre-pull $APP
cat | git-upload-pack "$DOKKU_ROOT/$APP"
pluginhook post-pull $APP
pluginhook git-post-pull $APP
;;
git-*)