aboutsummaryrefslogtreecommitdiffstats
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-18 18:08:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-18 18:08:59 +0900
commit51edcbad5be46af800961aabc7b45f0ce6509990 (patch)
tree0b76065a0cc0ee1e9b6dab1c833fa8259c6f36ba /tool/sync_default_gems.rb
parent9132153930b88b5ffeb95d42081c05d5eceb2d90 (diff)
downloadruby-51edcbad5be46af800961aabc7b45f0ce6509990.tar.gz
Use master branch instead of trunk.
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 10f5df3c47..462d9631be 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -328,12 +328,12 @@ def update_default_gems(gem)
unless `git remote`.match(/ruby\-core/)
`git remote add ruby-core git@github.com:ruby/ruby.git`
`git fetch ruby-core --no-tags`
- `git co ruby-core/trunk`
+ `git co ruby-core/master`
`git branch ruby-core`
end
`git co ruby-core`
- `git fetch ruby-core trunk --no-tags`
- `git rebase ruby-core/trunk`
+ `git fetch ruby-core master --no-tags`
+ `git rebase ruby-core/master`
`git co master`
`git stash`
`git pull --rebase`