diff --git a/src/commands.rs b/src/commands.rs index 9f2f062b7..134748379 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -710,10 +710,8 @@ fn print_diff(left: &[u8], right: &[u8], styler: &mut dyn Styler) -> io::Result< } } } else { - if context_before || context.len() < num_context_lines { - for line in &context { - print_diff_line(styler, line)?; - } + for line in &context { + print_diff_line(styler, line)?; } context.clear(); print_diff_line(styler, &diff_line)?;