bottle: allow --merge --write without commit

This commit is contained in:
Xu Cheng 2015-10-15 15:12:02 +08:00 committed by Mike McQuaid
parent 0114a26483
commit 1da0583634

View File

@ -343,10 +343,12 @@ module Homebrew
end end
end end
HOMEBREW_REPOSITORY.cd do unless ARGV.include? "--no-commit"
safe_system "git", "commit", "--no-edit", "--verbose", f.path.parent.cd do
"--message=#{f.name}: #{update_or_add} #{f.pkg_version} bottle.", safe_system "git", "commit", "--no-edit", "--verbose",
"--", f.path "--message=#{f.name}: #{update_or_add} #{f.pkg_version} bottle.",
"--", f.path
end
end end
end end
end end