diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 044030efad..cd09fc1e26 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