mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
a60a1c031e
commit
bf9d849b23
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue