fix: git config can be set globally

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-12-27 15:27:46 -05:00
1 parent 21ff68f624
commit 7f2180b47b
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ cmd-git-set() {
[[ "$1" == "$cmd" ]] && shift 1 [[ "$1" == "$cmd" ]] && shift 1
declare APP="$1" KEY="$2" VALUE="$3" declare APP="$1" KEY="$2" VALUE="$3"
local VALID_KEYS=("deploy-branch" "keep-git-dir" "rev-env-var") local VALID_KEYS=("deploy-branch" "keep-git-dir" "rev-env-var")
verify_app_name "$APP" [[ "$APP" == "--global" ]] || verify_app_name "$APP"
[[ -z "$KEY" ]] && dokku_log_fail "No key specified" [[ -z "$KEY" ]] && dokku_log_fail "No key specified"