X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-parse-remote.sh;h=a296719861ec3b7aab5e530e67dc99b58267a56a;hb=8146f19762c8fd67f6df3da4ba87a4e5ea880909;hp=695a4094bb4230341618bd6f16d0bea9bff2e826;hpb=071a8877662974f588dfc0b1ac7df2764b7e0337;p=git.git diff --git a/git-parse-remote.sh b/git-parse-remote.sh index 695a4094b..a29671986 100755 --- a/git-parse-remote.sh +++ b/git-parse-remote.sh @@ -2,7 +2,7 @@ # git-ls-remote could be called from outside a git managed repository; # this would fail in that case and would issue an error message. -GIT_DIR=$(git rev-parse --git-dir 2>/dev/null) || :; +GIT_DIR=$(git rev-parse -q --git-dir) || :; get_data_source () { case "$1" in