Skip to content

[Bug] Blame is crashing the app when file was moved #2040

@ag943

Description

@ag943

Hi,
I have a repository where I right click > blame on a file. On the left I click on a commit sha to access the commit where it was modified.
This leads to a blank file, because the file was moved and renamed in the meantime. Using the arrow to go back at the top then crashes the application.

It seems that "revision" here is NULL https://github.com/sourcegit-scm/sourcegit/blob/master/src/ViewModels/Blame.cs#L122

Do you know how we could fix it ?

Thank you and have a good day !

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions