Re: [PATCH v2 5/5] doc: git-diff: apply format changes to config part
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Nov 12, 2024, 18:51 UTC
- Message-ID
- <baeb6c64-eb6f-45ab-ac11-0896dd0adcae@kdbg.org>
- In-Reply-To
- <17a2f028d59a0097e92229c2b934a69974691e79.1731343985.git.gitgitgadget@gmail.com>
Am 11.11.24 um 17:53 schrieb Jean-Noël Avila via GitGitGadget:
Show 14 quoted lines
> @@ -1,18 +1,18 @@ > -diff.autoRefreshIndex:: > - When using 'git diff' to compare with work tree > +`diff.autoRefreshIndex`:: > + When using `git diff` to compare with work tree > files, do not consider stat-only changes as changed. > Instead, silently run `git update-index --refresh` to > update the cached stat information for paths whose > contents in the work tree match the contents in the > index. This option defaults to true. Note that this > - affects only 'git diff' Porcelain, and not lower level > - 'diff' commands such as 'git diff-files'. > + affects only `git diff` Porcelain, and not lower level > + `diff` commands such as '`git diff-files`.
A stray ' remained on this line.
Show 9 quoted lines
> -diff.srcPrefix:: > - If set, 'git diff' uses this source prefix. Defaults to "a/". > +`diff.srcPrefix`:: > + If set, `git diff` uses this source prefix. Defaults to "a/". > > -diff.dstPrefix:: > - If set, 'git diff' uses this destination prefix. Defaults to "b/". > +`diff.dstPrefix`:: > + If set, `git diff` uses this destination prefix. Defaults to "b/".
You are applying `backticks` to possible values such as `true` and `false` later. Then these `a/` and `b/` should also be set in this way.
-- Hannes