diff options
| author | Martin Afanasjew | 2016-06-02 17:42:44 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-06-03 17:04:07 +0200 |
| commit | 656c713d6c549a1ae1dc25cdc1f9bb887dfd8440 (patch) | |
| tree | e0916b9a454ea0cb6c44ea41aaa7f9b322785e0d /Library/Homebrew | |
| parent | 822b05c9c1dc6ebcd7eeac7282d23ea3991bd1f0 (diff) | |
| download | brew-656c713d6c549a1ae1dc25cdc1f9bb887dfd8440.tar.bz2 | |
bottle: use short formula name in bottle commit
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 3 |
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 |
