diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-05 14:37:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-05 14:39:53 +0900 |
commit | 8a608f1b1f9812d0bd1d7589a03e8abd653b8364 (patch) | |
tree | 491db510b913315f984367d497ff8b5df0d1fa2b | |
parent | 41bc766763dba63ae2529f2f9070b8e26399745c (diff) | |
download | ruby-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.
-rwxr-xr-x | tool/make-snapshot | 2 |
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 |