diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-10-08 13:04:34 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-10-09 08:05:11 +0900 |
commit | 5a34b639fc8f51f2464f36e59f32eff8b3fd2e0f (patch) | |
tree | a11d9c58b81483da126d73d02967d8c02214b69c /spec/bundler/support/builders.rb | |
parent | b857a8765338b76afd00691be29bdffdcc92991a (diff) |
[rubygems/rubygems] Make adding files and committing into a single command
For efficiency.
https://github.com/rubygems/rubygems/commit/979d1634dd
Diffstat (limited to 'spec/bundler/support/builders.rb')
-rw-r--r-- | spec/bundler/support/builders.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index c9ddc2c13e..3db84b277d 100644 --- a/spec/bundler/support/builders.rb +++ b/spec/bundler/support/builders.rb @@ -577,8 +577,7 @@ module Spec _default_files[path] += "\n#{Builders.constantize(name)}_PREV_REF = '#{current_ref}'" end super(options.merge(:path => libpath, :gemspec => update_gemspec, :source => source)) - @context.git("add *", libpath) - @context.git("commit -m BUMP", libpath, :raise_on_error => false) + @context.git("commit -am BUMP", libpath, :raise_on_error => false) end end |