aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/bottle.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 0f65bd9cb..36c71f75a 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -427,11 +427,12 @@ module Homebrew
end
unless ARGV.include? "--no-commit"
+ short_name = formula_name.split("/", -1).last
pkg_version = bottle_hash["formula"]["pkg_version"]
path.parent.cd do
safe_system "git", "commit", "--no-edit", "--verbose",
- "--message=#{formula_name}: #{update_or_add} #{pkg_version} bottle.",
+ "--message=#{short_name}: #{update_or_add} #{pkg_version} bottle.",
"--", path
end
end