From 9132153930b88b5ffeb95d42081c05d5eceb2d90 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sun, 18 Aug 2019 17:40:01 +0900 Subject: [PATCH] Ignore tags on default gems from ruby core repository. --- tool/sync_default_gems.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index dc5c9ba088..10f5df3c47 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -327,12 +327,12 @@ def update_default_gems(gem) Dir.chdir("../../#{author}/#{repository}") do unless `git remote`.match(/ruby\-core/) `git remote add ruby-core git@github.com:ruby/ruby.git` - `git fetch ruby-core` + `git fetch ruby-core --no-tags` `git co ruby-core/trunk` `git branch ruby-core` end `git co ruby-core` - `git fetch ruby-core trunk` + `git fetch ruby-core trunk --no-tags` `git rebase ruby-core/trunk` `git co master` `git stash`