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

ruby-changes:57538

From: Nobuyoshi <ko1@a...>
Date: Thu, 5 Sep 2019 14:43:40 +0900 (JST)
Subject: [ruby-changes:57538] 8a608f1b1f (master): Removed -git option of make-snapshot

https://git.ruby-lang.org/ruby.git/commit/?id=8a608f1b1f

From 8a608f1b1f9812d0bd1d7589a03e8abd653b8364 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 5 Sep 2019 14:37:05 +0900
Subject: Removed -git option of make-snapshot

Git is not for direct access to a remote repository.
Most of its operations need a local clone.

diff --git a/tool/make-snapshot b/tool/make-snapshot
index 12a1a9f..7beca8c 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -562,7 +562,7 @@ if $srcdir https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L562
 elsif $svn
   vcs = VCS::SVN.new($svn == true ? SVNURL : URI.parse($svn))
 elsif $git
-  vcs = VCS::GIT.new($git == true ? GITURL : URI.parse($git))
+  abort "#{File.basename $0}: use -srcdir with cloned local repository"
 else
   vcs = VCS::SVN.new(SVNURL)
 end
-- 
cgit v0.10.2


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

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