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

ruby-changes:46184

From: nobu <ko1@a...>
Date: Mon, 10 Apr 2017 10:22:55 +0900 (JST)
Subject: [ruby-changes:46184] nobu:r58297 (trunk): vcs.rb: remove git stuff

nobu	2017-04-10 10:22:50 +0900 (Mon, 10 Apr 2017)

  New Revision: 58297

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58297

  Log:
    vcs.rb: remove git stuff
    
    * tool/vcs.rb (VCS::GIT#after_export): remove git stuff not to
      distribute.  [ruby-core:80629] [Feature #13415]

  Modified files:
    trunk/tool/vcs.rb
Index: tool/vcs.rb
===================================================================
--- tool/vcs.rb	(revision 58296)
+++ tool/vcs.rb	(revision 58297)
@@ -421,7 +421,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L421
     end
 
     def after_export(dir)
-      FileUtils.rm_rf("#{dir}/.git")
+      FileUtils.rm_rf(Dir.glob("#{dir}/.git*"))
     end
 
     def export_changelog(url, from, to, path)

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

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