Use git-* as a pluginhook prefix

This commit is contained in:
Jose Diaz-Gonzalez committed 2014-11-23 21:02:40 -05:00
1 parent aa1c7f6fa4
commit 463f725872
1 file changed
+2 -2
+2 -2
View File
@@ -36,9 +36,9 @@ case "$1" in
git-upload-pack) git-upload-pack)
APP="$(echo $2 | perl -pe 's/(?<!\\)'\''//g' | sed 's/\\'\''/'\''/g')" 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" cat | git-upload-pack "$DOKKU_ROOT/$APP"
pluginhook post-pull $APP pluginhook git-post-pull $APP
;; ;;
git-*) git-*)