From aa1c54d36681a54da227b750ae56c1c9f839af85 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Tue, 21 Apr 2020 22:31:15 +0200 Subject: [PATCH] fix mix up in label for add/remove hunk --- src/components/diff.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(