Skip to content

git: Add --skip git-rev-list in revisions.go

After Network/Graph view does not show tags which are... (gitlab!164081 - merged), some discrepancies were discovered between the FindAllCommitsRequest RPC and ListCommitsRequest RPC. The first one allows the field skip which, by definition, skip is the number of commits to skip before starting to show the commit output. This allows the Repository network graph to show commits centered by the commit SHA or refname.

To keep this behavior, we should include the --skip revision in internal/git/revision.go.

This MR adds --skip to the list of git-rev-list so it becomes possible to skip number commits before starting to show the commit output.

Related to #6368 (closed)

Edited by Javiera Tapia

Merge request reports

Loading