aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2015-05-29 00:16:50 -0400
committerJack Nagel2015-05-29 00:16:51 -0400
commitf80748096df45534e6f38cdfb2ee83e1051cb56b (patch)
tree4355fb3ac8edb10f0c5417ba6be9fa16e6c618d3 /Library/Homebrew
parent5cb392d9d7cf05022be5f3eac121cffb1fe7b097 (diff)
downloadbrew-f80748096df45534e6f38cdfb2ee83e1051cb56b.tar.bz2
Remove unused default argument
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_versions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb
index 563961b7f..3bb7e3e55 100644
--- a/Library/Homebrew/formula_versions.rb
+++ b/Library/Homebrew/formula_versions.rb
@@ -15,7 +15,7 @@ class FormulaVersions
@entry_name = formula.path.relative_path_from(repository).to_s
end
- def rev_list(branch="HEAD")
+ def rev_list(branch)
repository.cd do
Utils.popen_read("git", "rev-list", "--abbrev-commit", "--remove-empty", branch, "--", entry_name) do |io|
yield io.readline.chomp until io.eof?