-
-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: disable blame and history popup for untracked files #2489
base: master
Are you sure you want to change the base?
fix: disable blame and history popup for untracked files #2489
Conversation
I would add |
I have added |
An untracked file does not have any history data. Right now when you press `B` for the blame popup or the `H` for the history popup you get an empty popup where the title spins endlessly trying to find the file in the commit history, and show relevant information. This commit disables the two actions in the `StatusTreeComponent`, when the selected item is a file which is not tracked by git.
42254f7
to
97d5e5b
Compare
@kpbaks thanks for your contribution. please add a changelog entry and its good to go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add changelog entry matching other changelog entries style
An untracked file does not have any history data. Right now when you press
B
for the blame popup or theH
for the history popup you get an empty popup where the title spins endlessly trying to find the file in the commit history, and show relevant information. This commitIt changes the following:
StatusTreeComponent
, when the selected item is a file which is not tracked by git.I followed the checklist:
make check
without errors