mirror of
https://github.com/pyenv/pyenv-update.git
synced 2025-11-08 03:23:48 -05:00
apply -n to git remote show to skip ls-remote
This commit is contained in:
@@ -9,7 +9,7 @@ fi
|
||||
|
||||
verify_repo_origin() {
|
||||
local repo="$1"
|
||||
( cd "${repo}" && git remote show origin 1>/dev/null 2>&1 ) || return 1
|
||||
( cd "${repo}" && git remote show -n origin 1>/dev/null 2>&1 ) || return 1
|
||||
}
|
||||
|
||||
verify_repo_master() {
|
||||
|
||||
Reference in New Issue
Block a user