diff options
Diffstat (limited to 'src/features/diff_so_fancy.rs')
-rw-r--r-- | src/features/diff_so_fancy.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/features/diff_so_fancy.rs b/src/features/diff_so_fancy.rs index 5132829c..d05d2e68 100644 --- a/src/features/diff_so_fancy.rs +++ b/src/features/diff_so_fancy.rs @@ -19,7 +19,7 @@ pub fn make_feature() -> Vec<(String, OptionValueFunction)> { ( "commit-style", String, - None, + Some("color.diff.commit"), _opt => "bold yellow" ), ( @@ -76,7 +76,7 @@ pub mod tests { [color \"diff\"] meta = 11 frag = magenta bold - commit = yellow bold + commit = purple bold old = red bold new = green bold whitespace = red reverse @@ -89,7 +89,7 @@ pub mod tests { Some(git_config_path), ); - assert_eq!(opt.commit_style, "bold yellow"); + assert_eq!(opt.commit_style, "purple bold"); assert_eq!(opt.file_style, "11"); assert_eq!(opt.hunk_header_style, "magenta bold"); assert_eq!(opt.commit_decoration_style, "none"); |