diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-09-14 01:19:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-14 01:19:30 -0700 |
commit | 58f6fb53dd1104559f6f5507562a975c0ff079af (patch) | |
tree | e5d6efb5312abab35abf8a7b18aacc61776c6592 /git-clone.sh | |
parent | cbb390cd8f58ca6fc5c7b2c710425649b057b6d6 (diff) | |
parent | 09d5dc32fbdfa7bfd23fe377455445dd2605c3b9 (diff) | |
download | git-58f6fb53dd1104559f6f5507562a975c0ff079af.tar.gz git-58f6fb53dd1104559f6f5507562a975c0ff079af.tar.xz |
Merge branch 'jc/cachetree' into cr/reset
* jc/cachetree:
Simplify cache API
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
git.el: Allow the add and remove commands to be applied to ignored files.
git.el: Allow selecting whether to display uptodate/unknown/ignored files.
git.el: Keep the status buffer sorted by filename.
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 18003ab4b..5e582fe24 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 () { |