Skip to content

Expand breadth of commit diff response

Currently when the diff parser exceeds various limits, it simply stops parsing files. As a result, these files are not represented by the diff on the client side. This PR enables the parser to continue processing patches if a parameter is passed from the client context, but does not store any actual patch content, just information about the patch (line count, etc) which is passed back to the client with a flag on that diff indicating that the client shouldn't expect any patch info, but should expect general info.

NOTE: This is a recreation of !5552 (closed) (which will be closed in favor of this MR) but from the community fork of Gitaly rather than my own so the CI can actually run.

Tagging @toon as he was the previous reviewer for !5552 (closed)

Merge request reports