summaryrefslogtreecommitdiffstats
path: root/src/components/changes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/changes.rs')
-rw-r--r--src/components/changes.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components/changes.rs b/src/components/changes.rs
index 9a8d5859..3ac42b74 100644
--- a/src/components/changes.rs
+++ b/src/components/changes.rs
@@ -148,12 +148,9 @@ impl ChangesComponent {
fn dispatch_reset_workdir(&mut self) -> bool {
if let Some(tree_item) = self.selection() {
- let is_folder =
- matches!(tree_item.kind, FileTreeItemKind::Path(_));
self.queue.push(InternalEvent::ConfirmAction(
Action::Reset(ResetItem {
path: tree_item.info.full_path,
- is_folder,
}),
));