Skip to content

Fix Sourcegraph with MR diffs

Paul Slaughter requested to merge 296769-fix-sourcegraph-unified-diff into master

What does this MR do?

This MR is part of fixing Sourcegraph for Merge Request diffs. It does this in two commits:

  1. Establish tests for interoperability. These tests use Sourcegraphs current way of querying for line metadata. This reveals a bug since the tests are not passing.
  2. Fix the way we expose line metadata and change how Sourcegraph should be querying for this.

We will follow-up this MR with an upstream Sourcegraph MR.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #296769 (closed)

Edited by Paul Slaughter

Merge request reports