diff options
| author | JCount | 2017-08-07 17:33:12 -0400 |
|---|---|---|
| committer | GitHub | 2017-08-07 17:33:12 -0400 |
| commit | ae1986ac910a888ceda5a0b18d14a3b3b7bcb446 (patch) | |
| tree | e39a40888f007b39909711a76075ae822ab364ae /Library/Homebrew/utils/github.rb | |
| parent | 6ef49d8b86e436cb37df1344019189a2f2df0bbb (diff) | |
| parent | 986887b413897413266151c92d5071d0a82cf966 (diff) | |
| download | brew-ae1986ac910a888ceda5a0b18d14a3b3b7bcb446.tar.bz2 | |
Merge pull request #3018 from Homebrew/revert-2848-refactoring
Revert "Refactor SVN and cURL download strategies."
Diffstat (limited to 'Library/Homebrew/utils/github.rb')
| -rw-r--r-- | Library/Homebrew/utils/github.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index 07eea4384..1a781cee6 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -166,7 +166,7 @@ module GitHub args += ["--dump-header", headers_tmpfile.path] - output, errors, status = curl_output(url.to_s, "--location", *args) + output, errors, status = curl_output(url.to_s, *args) output, _, http_code = output.rpartition("\n") output, _, http_code = output.rpartition("\n") if http_code == "000" headers = headers_tmpfile.read |
