diff options
Diffstat (limited to 'tool/lib/vcs.rb')
-rw-r--r-- | tool/lib/vcs.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 282ce91dd3..5a33d87411 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -597,6 +597,9 @@ class VCS end when %r[^( +)(\d+)i/(.*)/] s[$2.to_i, 0] = "#{$1}#{$3}\n" + when %r[^ +(\d+)(?:,(\d+))?d] + n = $1.to_i + s[n..($2&.to_i || n)] = [] end end s = s.join('') |