chore: remove deprecated git functions

This commit is contained in:
Jose Diaz-Gonzalez
2023-02-12 13:09:20 -05:00
parent e628e21879
commit 577aafb683
2 changed files with 3 additions and 17 deletions

View File

@@ -6,14 +6,6 @@ source "$PLUGIN_AVAILABLE_PATH/git/internal-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
use_git_worktree() {
declare desc="detects whether to use git worktree"
declare deprecated=true
dokku_log_warn "Deprecated: fn-git-use-worktree"
fn-git-use-worktree
}
git_build_app_repo() {
declare desc="builds local git app repo for app"
declare APP="$1" REV="$2"
@@ -77,15 +69,6 @@ git_trigger_build() {
dokku_receive "$APP" "$BUILDER" "$TMP_WORK_DIR"
}
git_deploy_branch() {
declare desc="retrieve the deploy branch for a given application"
declare APP="$1"
declare deprecated=true
dokku_log_warn "Deprecated: plugn#git-deploy-branch"
fn-git-deploy-branch "$APP"
}
cmd-git-hook() {
declare desc="kick off receive-app trigger from git prereceive hook"
declare cmd="git-hook"