Skip to content

Commit

Permalink
fixup! fix: disable blame and history popup for untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
kpbaks committed Jan 22, 2025
1 parent 691c815 commit 97d5e5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/status_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ impl Component for StatusTreeComponent {
CommandBlocking::PassingOn
}

#[expect(clippy::cognitive_complexity)]
fn event(&mut self, ev: &Event) -> Result<EventState> {
if self.focused {
if let Event::Key(e) = ev {
Expand Down

0 comments on commit 97d5e5b

Please sign in to comment.