aboutsummaryrefslogtreecommitdiffstats
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-05 14:37:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-05 14:39:53 +0900
commit8a608f1b1f9812d0bd1d7589a03e8abd653b8364 (patch)
tree491db510b913315f984367d497ff8b5df0d1fa2b /tool/make-snapshot
parent41bc766763dba63ae2529f2f9070b8e26399745c (diff)
downloadruby-8a608f1b1f9812d0bd1d7589a03e8abd653b8364.tar.gz
Removed -git option of make-snapshot
Git is not for direct access to a remote repository. Most of its operations need a local clone.
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
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