diff options
| author | Xu Cheng | 2016-08-19 21:16:52 +0800 |
|---|---|---|
| committer | GitHub | 2016-08-19 21:16:52 +0800 |
| commit | 893582b89fa063e49b9f01e8e036a66a33b359b6 (patch) | |
| tree | c71686bd502941432dc797ba59f6c84e60d91f54 /Library/Homebrew | |
| parent | bd1ded93ec46b2ae9c37dbf17dd6d74d3f727440 (diff) | |
| parent | b7a17ba3454442ef724849710b476e7d7ba5785c (diff) | |
| download | brew-893582b89fa063e49b9f01e8e036a66a33b359b6.tar.bz2 | |
Merge pull request #749 from vladshablinsky/fix_commit
download_strategy: check if commit nil
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 044030efa..cd09fc1e2 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -821,6 +821,7 @@ class GitHubGitDownloadStrategy < GitDownloadStrategy if !@last_commit super else + return true unless commit return true unless @last_commit.start_with?(commit) multiple_short_commits_exist?(commit) end |
