ruby-changes:60902
From: Nobuyoshi <ko1@a...>
Date: Sat, 25 Apr 2020 13:57:09 +0900 (JST)
Subject: [ruby-changes:60902] 7c88bb3eba (master): fetch-bundled_gems.rb: Fixed the position of -c
https://git.ruby-lang.org/ruby.git/commit/?id=7c88bb3eba From 7c88bb3eba77295cb4cd8ee1a713bae40d92600a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 25 Apr 2020 13:56:24 +0900 Subject: fetch-bundled_gems.rb: Fixed the position of -c diff --git a/tool/fetch-bundled_gems.rb b/tool/fetch-bundled_gems.rb index bb6f33a..4ba1848 100755 --- a/tool/fetch-bundled_gems.rb +++ b/tool/fetch-bundled_gems.rb @@ -17,7 +17,7 @@ else https://github.com/ruby/ruby/blob/trunk/tool/fetch-bundled_gems.rb#L17 puts "retrieving #{n} ..." system(*%W"git clone #{u} #{n}") or abort end -checkout = %w"git checkout -c advice.detachedHead=false" +checkout = %w"git -c advice.detachedHead=false checkout" unless system(*checkout, v.sub(/\A(?=\d)/, 'v'), chdir: n) unless /\A\d/ =~ v and system(*checkout, v, chdir: n) abort -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/