test-bot: do not diff tree recursively (#394)

This commit is contained in:
Dominique 2016-06-23 01:00:29 -04:00 committed by Xu Cheng
parent 6bd24a7fb8
commit 05649cee60

View File

@ -273,7 +273,7 @@ module Homebrew
def diff_formulae(start_revision, end_revision, path, filter)
return unless @tap
git(
"diff-tree", "-r", "--name-only", "--diff-filter=#{filter}",
"diff-tree", "--name-only", "--diff-filter=#{filter}",
start_revision, end_revision, "--", path
).lines.map do |line|
file = Pathname.new line.chomp