Skip to content

Use DiffService.DiffStats RPC when calculating added and removed lines of a diff

Currently we iterate over DiffLine's and count parsed added and removed lines.

With this information coming directly from git diff --numstat on DiffStats RPC, there's no need to keep doing that.

This same method is used to present added / removed lines of each diff file on /diffs page.

Edited by Oswaldo Ferreira