Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Blame: Need to return OldPath for files that were renamed #60159

@eseliger

Description

@eseliger

When showing the "Show blame prior to this change" and the commit in question has renamed the file, we cannot reliably link to the file at the parent, because we don't know the previous name of the file.

Example: (The commit from Dave)
https://sourcegraph.com/.api/blame/github.com/sourcegraph/sourcegraph@dd34d1b/stream/docker-images/syntax-highlighter/crates/syntax-analysis/src/highlighting/syntect_html.rs

Metadata

Metadata

Assignees

Labels

bugAn error, flaw or fault that produces an incorrect or unexpected result, or behavior.team/sourceTickets under the purview of Source - the one Source to graph it all

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions