diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-26 06:00:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-26 06:00:08 +0000 |
commit | bf9d849b2394c5b1d21fdebb1bf7f87cd4849d5e (patch) | |
tree | 6f5df01052e088276c5ff1e3fd092979819811ad /tool/vcs.rb | |
parent | a60a1c031e7fc1302db3cc8e415383231fa5870b (diff) | |
download | ruby-bf9d849b2394c5b1d21fdebb1bf7f87cd4849d5e.tar.gz |
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.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb index 5bd87e9047..128dfe592e 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 |