aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2013-12-09 17:34:04 -0600
committerJack Nagel2013-12-09 17:34:04 -0600
commitc3ac88d8c7149f43ce2a20ee581cab4036768394 (patch)
tree5ee7ef993b58045bd751b14591ea6598e455c97a /Library/Homebrew
parent291cdea687107c34fa389617f6563ead9770dd3a (diff)
downloadbrew-c3ac88d8c7149f43ce2a20ee581cab4036768394.tar.bz2
versions: delete unused method
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/versions.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb
index 47baa715a..7e556ec55 100644
--- a/Library/Homebrew/cmd/versions.rb
+++ b/Library/Homebrew/cmd/versions.rb
@@ -94,10 +94,6 @@ class Formula
end
end
- def sha_for_version version
- rev_list.find{ |sha| version == version_for_sha(sha) }
- end
-
IGNORED_EXCEPTIONS = [SyntaxError, TypeError, NameError,
ArgumentError, FormulaSpecificationError]