mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 01:18:21 +00:00
doc comment
This commit is contained in:
parent
cce49a34b7
commit
149841c604
1 changed files with 1 additions and 0 deletions
|
|
@ -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)?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue