diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 14:06:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 14:06:22 +0000 |
commit | fe7f05183243fd4c708d4a44e25c954334fc34f7 (patch) | |
tree | 733d3c29c66b7180adab58a30c2e968f301611c0 /tool/vcs.rb | |
parent | 9a093e746fb20a278e04316877d581558cdb409f (diff) |
fix up r60243
* tool/vcs.rb (VCS::GIT.get_revisions): use last revision also as
changed revision when the head does not have svn ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r-- | tool/vcs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb index 3002d417a1..22fcaf6025 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -359,7 +359,7 @@ class VCS cmd = logcmd cmd += [path] unless path == '.' log = cmd_read_at(srcdir, [cmd]) - changed = log[idpat, 1] + changed = log[idpat, 1] || last else changed = last end |