From 77bb04ee0508457a5f91c3885c098d6714cd28ac Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Tue, 11 Jun 2013 15:47:46 +0900 Subject: [PATCH] apply `-n` to git remote show to skip ls-remote --- bin/pyenv-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pyenv-update b/bin/pyenv-update index 25f5303..6ad492c 100755 --- a/bin/pyenv-update +++ b/bin/pyenv-update @@ -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() {