[前][次][番号順一覧][スレッド一覧]

ruby-changes:72743

From: Hiroshi <ko1@a...>
Date: Fri, 29 Jul 2022 19:10:25 +0900 (JST)
Subject: [ruby-changes:72743] 62849b3379 (master): Keep gitignore for libyaml source with psych

https://git.ruby-lang.org/ruby.git/commit/?id=62849b3379

From 62849b337988268b4209c58b6de02d0002c78988 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 29 Jul 2022 17:07:36 +0900
Subject: Keep gitignore for libyaml source with psych

---
 tool/sync_default_gems.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 47f6f1c840..e3b940e2d5 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -184,7 +184,7 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L184
     rm_rf(%w[ext/psych/lib/psych.{bundle,so} ext/psych/lib/2.*])
     rm_rf(["ext/psych/yaml/LICENSE"])
     cp_r("#{upstream}/psych.gemspec", "ext/psych")
-    `git checkout ext/psych/depend`
+    `git checkout ext/psych/depend ext/psych/.gitignore`
   when "fiddle"
     rm_rf(%w[ext/fiddle test/fiddle])
     cp_r("#{upstream}/ext/fiddle", "ext")
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]