Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
k0kubun a1e589498d tool/git-refresh: skip git fetch and checkout
if the tag is already checked out, to optimize the execution time.

I'm going to prepare a task depending on this tool, and I want that to
finish fast and output nothing when it's already up-to-date.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-08 05:52:12 +00:00
nobu e97e093a3d git-refresh: fix for Solaris
* tool/git-refresh: expand for each words.
  [ruby-dev:50102] [Bug #13522]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-30 10:53:42 +00:00
nobu eeed8b96a1 git-refresh: fix for Solaris
* tool/git-refresh: unset variable `branch` if it is null, to get
  rid of substitutions which are not supported old Solaris.
  [ruby-dev:50102] [Bug #13522]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-30 03:52:06 +00:00
nobu 4cf6302d9d tool/git-refresh: fix branch operations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-24 11:52:14 +00:00
nobu 03421631bd git-refresh: fix abort by cd failure
* tool/git-refresh: try `cd -P` in a subshell, because Solaris10
  sh dies if it fails, not only the command.
  [ruby-dev:50074] [Bug #13433]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-14 00:45:48 +00:00
nobu 5710857456 git-refresh: for symlink srcdir
* tool/git-refresh: use `cd -P` for symlink srcdir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-13 08:08:04 +00:00
nobu e1557424b3 git-refresh: fix expr
* tool/git-refresh (dir): surround by slashes to extract base
  name.  [ruby-dev:50070] [Bug #13424]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-13 07:52:05 +00:00
nobu f91985b34d git-refresh: for old sh
* tool/git-refresh: get rid of matching prefix pattern removal for
  old sh.  [ruby-dev:50069] [Bug #13424]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-12 05:22:36 +00:00
nobu 23e2aac889 git-refresh: rewrite options
* tool/git-refresh: parse options without git-rev-parse, which is
  old on travis.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-30 07:04:14 +00:00
nobu c73db5c172 tool/git-refresh
* tool/git-refresh: tool to clone or update git working directory.

* Makefile.in: use git-refresh.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-30 06:44:27 +00:00