summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorfilip <filipbachul@gmail.com>2021-08-27 16:38:46 +0200
committerGitHub <noreply@github.com>2021-08-27 09:38:46 -0500
commit6b132967419cc497b59617925af73ff0b896076f (patch)
tree62954072b98a7a3d46022fdafded0e765391d568 /docs
parentce168e3241a6ed20065808eb955b2882d92dacc1 (diff)
feat(git_metrics): Git metrics show only nonzero diffs (#2887)
* implement only_nonzero_diffs configuration option * update documetation
Diffstat (limited to 'docs')
-rw-r--r--docs/config/README.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index b5ed73eca..ca4f1fb23 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -1272,12 +1272,13 @@ To enable it, set `disabled` to `false` in your configuration file.
### Options
-| Option | Default | Description |
-| ------------------------- | -------------------------------------------------------------------- | ---------------------------------------|
-| `added_style` | `"bold green"` | The style for the added count. |
-| `deleted_style` | `"bold red"` | The style for the deleted count. |
-| `format` | `'[+$added]($added_style) [-$deleted]($deleted_style) '` | The format for the module. |
-| `disabled` | `true` | Disables the `git_metrics` module. |
+| Option | Default | Description |
+| ------------------------- | -------------------------------------------------------------------- | --------------------------------------- |
+| `added_style` | `"bold green"` | The style for the added count. |
+| `deleted_style` | `"bold red"` | The style for the deleted count. |
+| `only_nonzero_diffs` | `true` | Render status only for changed items. |
+| `format` | `'([+$added]($added_style) )([-$deleted]($deleted_style) )'` | The format for the module. |
+| `disabled` | `true` | Disables the `git_metrics` module. |
### Variables