diff --git a/src/components/changes.rs b/src/components/changes.rs index 5c7e5d79..35996392 100644 --- a/src/components/changes.rs +++ b/src/components/changes.rs @@ -128,6 +128,7 @@ impl ChangesComponent { .push(InternalEvent::StatusLastFileMoved); } } else { + // this is a staged entry, so lets unstage it let path = tree_item.info.full_path.as_str(); sync::reset_stage(&self.repo.borrow(), path)?; }