aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-09 17:34:04 -0600
committerJack Nagel2013-12-09 17:34:04 -0600
commit8838b5040741457deb545425cd64e1970ee6bc2a (patch)
treeaecb1237f672dd82b8660843d6cd1ca308ed7950 /Library
parentb34e380484d169211e8b82c6064bcc5cd55ee1a3 (diff)
downloadhomebrew-8838b5040741457deb545425cd64e1970ee6bc2a.tar.bz2
versions: delete unused method
Diffstat (limited to 'Library')
-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]