Skip to content

Use --left-right and --max-count for counting diverging commits

Lin Jen-Shin requested to merge 40622-use-left-right-and-max-count into master

What does this MR do?

Use --left-right and --max-count for counting diverging commits

Are there points in the code the reviewer needs to double check?

Gitaly doesn't support this yet (see gitaly#382 (comment 48993695)), so it should have no effect for ~performance for Gitaly (but we're still showing 999+ if it's over 1000, to keep consistent behaviour), but if we're not using Gitaly it should boost some ~performance.

Why was this MR needed?

Trying to solve https://gitlab.com/gitlab-org/gitlab-ce/issues/40622

Screenshot

Screen_Shot_2018-01-04_at_22.31.00

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

This might not completely resolve #40622 (closed) yet

Edited by Lin Jen-Shin

Merge request reports