From 5a34b639fc8f51f2464f36e59f32eff8b3fd2e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 8 Oct 2021 13:04:34 +0200 Subject: [rubygems/rubygems] Make adding files and committing into a single command For efficiency. https://github.com/rubygems/rubygems/commit/979d1634dd --- spec/bundler/support/builders.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'spec/bundler/support/builders.rb') 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 -- cgit v1.2.3