summaryrefslogtreecommitdiffstats
path: root/src/hunk_header.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/hunk_header.rs')
-rw-r--r--src/hunk_header.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hunk_header.rs b/src/hunk_header.rs
index 7b7af31f..f9b1b240 100644
--- a/src/hunk_header.rs
+++ b/src/hunk_header.rs
@@ -96,8 +96,7 @@ fn get_painted_file_with_line_number(
if config.hunk_header_style_include_file_path {
file_with_line_number.push(config.file_style.paint(plus_file))
};
- if !config.line_numbers
- && config.hunk_header_style_include_line_number
+ if config.hunk_header_style_include_line_number
&& !config.hunk_header_style.is_raw
&& !config.color_only
{