diff --git a/src/components/diff.rs b/src/components/diff.rs index 5204e925..25fc6bca 100644 --- a/src/components/diff.rs +++ b/src/components/diff.rs @@ -321,9 +321,9 @@ impl Component for DiffComponent { )); let cmd_text = if self.current.is_stage { - commands::DIFF_HUNK_ADD - } else { commands::DIFF_HUNK_REMOVE + } else { + commands::DIFF_HUNK_ADD }; out.push(CommandInfo::new(