diff options
Diffstat (limited to 'src/configs/git_metrics.rs')
-rw-r--r-- | src/configs/git_metrics.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configs/git_metrics.rs b/src/configs/git_metrics.rs index 928d98297..ea504c53b 100644 --- a/src/configs/git_metrics.rs +++ b/src/configs/git_metrics.rs @@ -13,6 +13,7 @@ pub struct GitMetricsConfig<'a> { pub only_nonzero_diffs: bool, pub format: &'a str, pub disabled: bool, + pub ignore_submodules: bool, } impl<'a> Default for GitMetricsConfig<'a> { @@ -23,6 +24,7 @@ impl<'a> Default for GitMetricsConfig<'a> { only_nonzero_diffs: true, format: "([+$added]($added_style) )([-$deleted]($deleted_style) )", disabled: true, + ignore_submodules: false, } } } |