aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index e9907cf38..e69a45b55 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -39,6 +39,8 @@ class AbstractDownloadStrategy
end
class VCSDownloadStrategy < AbstractDownloadStrategy
+ REF_TYPES = [:branch, :revision, :revisions, :tag].freeze
+
def initialize name, resource
super
@ref_type, @ref = destructure_spec_hash(resource.specs)