Use git-* as a pluginhook prefix
This commit is contained in:
@@ -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-*)
|
||||
|
||||
Reference in New Issue
Block a user