summaryrefslogtreecommitdiff
path: root/tool/vcs.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-26 06:00:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-26 06:00:08 +0000
commitbf9d849b2394c5b1d21fdebb1bf7f87cd4849d5e (patch)
tree6f5df01052e088276c5ff1e3fd092979819811ad /tool/vcs.rb
parenta60a1c031e7fc1302db3cc8e415383231fa5870b (diff)
vcs.rb: .git at export
* tool/vcs.rb (VCS::GIT#export): do not remove .git directory. should remove it by after_export. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 5bd87e9..128dfe5 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -452,7 +452,6 @@ class VCS
def export(revision, url, dir, keep_temp = false)
ret = system(COMMAND, "clone", "-s", (@srcdir || '.').to_s, "-b", url, dir)
- FileUtils.rm_rf("#{dir}/.git") if ret and !keep_temp
ret
end