From ac5e0b4ae972c98e549dfc7c8f7fac1cc10da654 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Fri, 14 Aug 2026 07:42:25 +0200 Subject: [PATCH] Fix example for args field in rawGit diff renderer docs --- docs-master/Custom_DiffRenderers.md | 4 ++-- docs/Custom_DiffRenderers.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs-master/Custom_DiffRenderers.md b/docs-master/Custom_DiffRenderers.md index 1a6b1d5ce7e..509f42ebfec 100644 --- a/docs-master/Custom_DiffRenderers.md +++ b/docs-master/Custom_DiffRenderers.md @@ -27,7 +27,7 @@ Fields only for `extDiff`: Fields only for `rawGit`: -- **args** The additional arguments to use in the `git diff` or `git show` call (e.g. `--color-words`) +- **args** The additional arguments to use in the `git diff` or `git show` call (e.g. `--color-words`), as an array of strings. Here's an example for a multi-renderer setup: @@ -40,7 +40,7 @@ git: - type: extDiff command: difft --color=always --context={{diffContext}} - type: rawGit - args: --color-words + args: [--color-words] name: color-words - type: rawGit # git's default diff name: default diff --git a/docs/Custom_DiffRenderers.md b/docs/Custom_DiffRenderers.md index 1a6b1d5ce7e..509f42ebfec 100644 --- a/docs/Custom_DiffRenderers.md +++ b/docs/Custom_DiffRenderers.md @@ -27,7 +27,7 @@ Fields only for `extDiff`: Fields only for `rawGit`: -- **args** The additional arguments to use in the `git diff` or `git show` call (e.g. `--color-words`) +- **args** The additional arguments to use in the `git diff` or `git show` call (e.g. `--color-words`), as an array of strings. Here's an example for a multi-renderer setup: @@ -40,7 +40,7 @@ git: - type: extDiff command: difft --color=always --context={{diffContext}} - type: rawGit - args: --color-words + args: [--color-words] name: color-words - type: rawGit # git's default diff name: default