Use git-* as a pluginhook prefix
This commit is contained in:
1 parent
aa1c7f6fa4
commit
463f725872
1 file changed
+2
-2
@@ -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