ruby-changes:68319
From: David <ko1@a...>
Date: Sat, 9 Oct 2021 09:27:18 +0900 (JST)
Subject: [ruby-changes:68319] 5a34b639fc (master): [rubygems/rubygems] Make adding files and committing into a single command
https://git.ruby-lang.org/ruby.git/commit/?id=5a34b639fc From 5a34b639fc8f51f2464f36e59f32eff8b3fd2e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> 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(-) 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 https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/builders.rb#L577 _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.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/