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:
parent
9a093e746f
commit
fe7f051832
@ -359,7 +359,7 @@ class VCS
|
|||||||
cmd = logcmd
|
cmd = logcmd
|
||||||
cmd += [path] unless path == '.'
|
cmd += [path] unless path == '.'
|
||||||
log = cmd_read_at(srcdir, [cmd])
|
log = cmd_read_at(srcdir, [cmd])
|
||||||
changed = log[idpat, 1]
|
changed = log[idpat, 1] || last
|
||||||
else
|
else
|
||||||
changed = last
|
changed = last
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user