Files
gitui/src
Kristoffer Plagborg Bak Sørensenandextrawurst 2ced3f9acc fix: disable blame and history popup for untracked files (#2489)
* fix: disable blame and history popup for untracked files

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.

---------

Co-authored-by: extrawurst <[email protected]>
2025-10-28 22:41:36 +01:00
..
2025-10-28 22:40:44 +01:00
2025-10-28 22:40:44 +01:00
2025-10-28 22:40:44 +01:00
2025-04-07 16:06:00 +02:00
2021-08-17 14:24:25 +02:00
2025-10-28 16:35:05 +01:00
2025-10-28 16:35:05 +01:00
2025-10-28 16:35:05 +01:00
2024-02-20 15:41:31 +01:00
2024-02-12 11:53:22 +01:00