Skip to content

Commit aa1c54d

Browse files
author
Stephan Dilly
committed
fix mix up in label for add/remove hunk
1 parent 466de64 commit aa1c54d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/diff.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ impl Component for DiffComponent {
321321
));
322322

323323
let cmd_text = if self.current.is_stage {
324-
commands::DIFF_HUNK_ADD
325-
} else {
326324
commands::DIFF_HUNK_REMOVE
325+
} else {
326+
commands::DIFF_HUNK_ADD
327327
};
328328

329329
out.push(CommandInfo::new(

0 commit comments

Comments
 (0)