Skip to content

[BUG] When a file is deleted in the history view, you cannot do right-click -> View file history #432

@ozmium

Description

@ozmium

This is the context menu option to view the File History, using SourceGit 8.27:

1 - File history is displayed for a modified file

The problem is that this menu option is missing in several scenarios.

Example commit in this SourceGit repo:

  • "project: cleanup", f544333, 2024/08/14 09:32:58

The menu option is missing for three different situations:


  1. File History is not displayed for a deleted file, in the Git history view
2 -  File history is not displayed for a deleted file
  1. File history is not displayed for a modified Staged file (before it's committed to Git)
3 - File history is not displayed for a modified Staged file
  1. File history is not displayed for a deleted Staged file
4 - File history is not displayed for a deleted Staged file

The expected result is that the File History option should be available in all these situations, because a user may want to view the file history in these situations. Also, other Git clients will show a 'View File History' option in these situations.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions