From 8a608f1b1f9812d0bd1d7589a03e8abd653b8364 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 5 Sep 2019 14:37:05 +0900 Subject: [PATCH] Removed -git option of make-snapshot Git is not for direct access to a remote repository. Most of its operations need a local clone. --- tool/make-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/make-snapshot b/tool/make-snapshot index 12a1a9f6bf..7beca8cb53 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -562,7 +562,7 @@ if $srcdir 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