1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2017-10-21 14:06:22 +00:00
parent 9a093e746f
commit fe7f051832

View file

@ -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