aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb1
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