diff options
| author | Vlad Shablinsky | 2016-08-19 12:32:20 +0200 | 
|---|---|---|
| committer | Vlad Shablinsky | 2016-08-19 12:32:20 +0200 | 
| commit | b7a17ba3454442ef724849710b476e7d7ba5785c (patch) | |
| tree | 1742351d18026d9021444459349e20a111f13e81 /Library/Homebrew/download_strategy.rb | |
| parent | 82ea19bc15a2f93c9b2f71da16eea2f5fa207936 (diff) | |
| download | brew-b7a17ba3454442ef724849710b476e7d7ba5785c.tar.bz2 | |
download_strategy: check if commit nil
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
| -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  | 
