diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-07-29 23:00:49 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-08-01 11:38:19 -0400 |
commit | d9a07679dfaf2b9c9b84187f3691aa93d8beca31 (patch) | |
tree | 05370847279730c98a9b40961780433dd1104aa0 /src/cli.rs | |
parent | cd7953c176c2bc71b34cc2aaa1618f6ab208538f (diff) |
Emit raw lines instead of explicitly handling --color-moved
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -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, |