mirror of
https://github.com/dokku/dokku.git
synced 2025-12-25 16:29:30 +01:00
This is useful in contexts where the repository directory may be created and interacted with via git-http-backend or other methods of updating a repository.
28 lines
425 B
Bash
Executable File
28 lines
425 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
source "$PLUGIN_AVAILABLE_PATH/git/functions"
|
|
source "$PLUGIN_AVAILABLE_PATH/git/internal-functions"
|
|
|
|
case "$1" in
|
|
git-hook)
|
|
git_hook_cmd "$@"
|
|
;;
|
|
|
|
git-upload-pack)
|
|
git_upload_pack_cmd "$@"
|
|
;;
|
|
|
|
git-*)
|
|
git_glob_cmd "$@"
|
|
;;
|
|
|
|
help | git:help)
|
|
cmd-git-help "$@"
|
|
;;
|
|
|
|
*)
|
|
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
|
|
;;
|
|
|
|
esac
|