diff options
| author | Junio C Hamano <gitster@pobox.com> | 2007-09-14 00:55:32 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2007-09-14 00:55:32 -0700 |
| commit | 611d8139e4e0a78797a0821074fc94a4f8d74b7b (patch) | |
| tree | 992e3bebcce5faf2dc81e3dd7b6df84ade69b477 /git-clone.sh | |
| parent | 568d2cde9b9fe0fc6b3202c7987b13289cb1a4a0 (diff) | |
| parent | 8419d2ee9ba8b375186a5c1019df8dfbce610aba (diff) | |
| download | git-611d8139e4e0a78797a0821074fc94a4f8d74b7b.tar.gz | |
Merge branch 'maint'
* maint:
git-format-patch --in-reply-to: accept <message@id> with angle brackets
git-add -u: do not barf on type changes
Remove duplicate note about removing commits with git-filter-branch
git-clone: improve error message if curl program is missing or not executable
hooks--update: Explicitly check for all zeros for a deleted ref.
Diffstat (limited to 'git-clone.sh')
| -rwxr-xr-x | git-clone.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/git-clone.sh b/git-clone.sh index 18003ab4b3..5e582fe247 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -34,7 +34,11 @@ fi http_fetch () { # $1 = Remote, $2 = Local - curl -nsfL $curl_extra_args "$1" >"$2" + curl -nsfL $curl_extra_args "$1" >"$2" || + case $? in + 126|127) exit ;; + *) return $? ;; + esac } clone_dumb_http () { |
