Project

General

Profile

Patch #42762 » 0001-Fix-revision-graph-canvas-width-calculation-on-repos.patch

Go MAEDA, 2025-12-25 11:12

View differences:

app/helpers/repositories_helper.rb
300 300
    heads.sort_by!(&:to_s)
301 301
    space = nil
302 302
    heads.each do |head|
303
      if commits_by_scmid.include? head.scmid
303
      if commits_by_scmid.include?(head.scmid) && commits_by_scmid[head.scmid][:space].nil?
304 304
        space = index_head((space || -1) + 1, head, commits_by_scmid)
305 305
      end
306 306
    end
(12-12/18)