Patch #42762 » 0001-Fix-revision-graph-canvas-width-calculation-on-repos.patch
| 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 |