diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-04-21 17:42:41 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-21 17:42:42 (GMT) |
commit | 0e6e1a5fbdd3143b74bf45f009bb4e850bdc785a (patch) | |
tree | 01e676502b1bd1c4a84aa3d3ebbb62d6d75eba37 /contrib/examples/git-ls-remote.sh | |
parent | cc291953df19aa4a97bee3590e708dc1fc557500 (diff) | |
parent | bd368a9baf5a42e2076ef4c8a35312ccab171452 (diff) | |
download | git-0e6e1a5fbdd3143b74bf45f009bb4e850bdc785a.zip git-0e6e1a5fbdd3143b74bf45f009bb4e850bdc785a.tar.gz git-0e6e1a5fbdd3143b74bf45f009bb4e850bdc785a.tar.bz2 |
Merge branch 'ep/shell-command-substitution'
* ep/shell-command-substitution:
t9362-mw-to-git-utf8.sh: use the $( ... ) construct for command substitution
t9360-mw-to-git-clone.sh: use the $( ... ) construct for command substitution
git-tag.sh: use the $( ... ) construct for command substitution
git-revert.sh: use the $( ... ) construct for command substitution
git-resolve.sh: use the $( ... ) construct for command substitution
git-repack.sh: use the $( ... ) construct for command substitution
git-merge.sh: use the $( ... ) construct for command substitution
git-ls-remote.sh: use the $( ... ) construct for command substitution
git-fetch.sh: use the $( ... ) construct for command substitution
git-commit.sh: use the $( ... ) construct for command substitution
git-clone.sh: use the $( ... ) construct for command substitution
git-checkout.sh: use the $( ... ) construct for command substitution
install-webdoc.sh: use the $( ... ) construct for command substitution
howto-index.sh: use the $( ... ) construct for command substitution
Diffstat (limited to 'contrib/examples/git-ls-remote.sh')
-rwxr-xr-x | contrib/examples/git-ls-remote.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/examples/git-ls-remote.sh b/contrib/examples/git-ls-remote.sh index fec70bb..2aa89a7 100755 --- a/contrib/examples/git-ls-remote.sh +++ b/contrib/examples/git-ls-remote.sh @@ -55,11 +55,11 @@ tmpdir=$tmp-d case "$peek_repo" in http://* | https://* | ftp://* ) if [ -n "$GIT_SSL_NO_VERIFY" -o \ - "`git config --bool http.sslVerify`" = false ]; then + "$(git config --bool http.sslVerify)" = false ]; then curl_extra_args="-k" fi if [ -n "$GIT_CURL_FTP_NO_EPSV" -o \ - "`git config --bool http.noEPSV`" = true ]; then + "$(git config --bool http.noEPSV)" = true ]; then curl_extra_args="${curl_extra_args} --disable-epsv" fi curl -nsf $curl_extra_args --header "Pragma: no-cache" "$peek_repo/info/refs" || |