Files
dokku/plugins/git/commands
2016-06-17 16:16:20 -07:00

27 lines
363 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_AVAILABLE_PATH/git/functions"
case "$1" in
git-hook)
git_hook_cmd "$@"
;;
git-upload-pack)
git_upload_pack_cmd "$@"
;;
git-*)
git_glob_cmd "$@"
;;
help | git:help)
echo -n ""
;;
*)
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
;;
esac