summaryrefslogtreecommitdiffstats
path: root/src/options/set.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/options/set.rs')
-rw-r--r--src/options/set.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options/set.rs b/src/options/set.rs
index 1fc8b4d2..eda89add 100644
--- a/src/options/set.rs
+++ b/src/options/set.rs
@@ -190,13 +190,13 @@ pub fn set_options(
compute_line_numbers_mode(opt, &builtin_features, git_config, &option_names);
opt.computed.paging_mode = parse_paging_mode(&opt.paging_mode);
- // --color-only is used for interactive.diffFilter (git add -p) and side-by-side cannot be used
- // there (does not emit lines in 1-1 correspondence with raw git output). See #274.
+ // --color-only is used for interactive.diffFilter (git add -p). side-by-side, and
+ // **-decoration-style cannot be used there (does not emit lines in 1-1 correspondence with raw git output).
+ // See #274.
if opt.color_only {
opt.side_by_side = false;
opt.file_decoration_style = "none".to_string();
opt.commit_decoration_style = "none".to_string();
- opt.file_style = "raw".to_string();
opt.commit_style = "raw".to_string();
opt.hunk_header_style = "raw".to_string();
opt.hunk_header_decoration_style = "none".to_string();