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:
parent
9a093e746f
commit
fe7f051832
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue