Skip to content

Commit 149841c

Browse files
committed
doc comment
1 parent cce49a3 commit 149841c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/changes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ impl ChangesComponent {
128128
.push(InternalEvent::StatusLastFileMoved);
129129
}
130130
} else {
131+
// this is a staged entry, so lets unstage it
131132
let path = tree_item.info.full_path.as_str();
132133
sync::reset_stage(&self.repo.borrow(), path)?;
133134
}

0 commit comments

Comments
 (0)