summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-07-29 23:00:49 -0400
committerDan Davison <dandavison7@gmail.com>2020-08-01 11:38:19 -0400
commitd9a07679dfaf2b9c9b84187f3691aa93d8beca31 (patch)
tree05370847279730c98a9b40961780433dd1104aa0 /src/cli.rs
parentcd7953c176c2bc71b34cc2aaa1618f6ab208538f (diff)
Emit raw lines instead of explicitly handling --color-moved
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 384db044..0532a6f2 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -234,14 +234,6 @@ pub struct Opt {
/// --file-renamed-label.
pub navigate: bool,
- #[structopt(long = "color-moved")]
- /// Detect moved code lines and apply the styles color-moved-minus-style and
- /// color-moved-plus-style. This option requires the git config setting `diff.colorMoved =
- /// true` (or that you pass --color-moved to git on the command line). It can only work if
- /// delta receives colored input from git. So it works with `core.pager = delta` in git config,
- /// but if you pipe git's output to delta, you must pass --color=always to git.
- pub color_moved: bool,
-
#[structopt(long = "hyperlinks")]
/// Render commit hashes, file names, and line numbers as hyperlinks, according to the
/// hyperlink spec for terminal emulators:
@@ -435,16 +427,6 @@ pub struct Opt {
#[structopt(long = "line-numbers-right-style", default_value = "auto")]
pub line_numbers_right_style: String,
- #[structopt(long = "color-moved-minus-style", default_value = "auto")]
- /// Style (foreground, background, attributes) for moved lines in their old location. See
- /// STYLES section.
- pub color_moved_minus_style: String,
-
- #[structopt(long = "color-moved-plus-style", default_value = "auto")]
- /// Style (foreground, background, attributes) for moved lines in their new location. See
- /// STYLES section.
- pub color_moved_plus_style: String,
-
#[structopt(long = "file-modified-label", default_value = "")]
/// Text to display in front of a modified file path.
pub file_modified_label: String,