From: Junio C Hamano Date: Tue, 12 Nov 2024 23:03:37 GMT Subject: Re: [PATCH v2 3/5] doc: git-diff: apply format changes to diff-format Message-ID: In-Reply-To: <6c1c1ae2-f38a-4458-a9ad-2fad3e56fc32@kdbg.org> Johannes Sixt writes: > Am 11.11.24 um 17:53 schrieb Jean-Noël Avila via GitGitGadget: >> -The raw output format from "git-diff-index", "git-diff-tree", >> -"git-diff-files" and "git diff --raw" are very similar. >> +The raw output format from `git-diff-index`, `git-diff-tree`, >> +`git-diff-files` and `git diff --raw` are very similar. > > Throughout this document we see a lot of commands with dashes `git-foo`. > Does this have any significance, or should they be corrected to the > dashless form `git foo`? It could even be a "while at it"-change as you > are touching every instance anyway. Yup, these "git-foo" are historical wart from pre Git 1.6 days. >> These commands all compare two sets of things; what is >> compared differs: >> >> -git-diff-index :: >> - compares the and the files on the filesystem. >> +`git-diff-index `:: >> + compares the __ and the files on the filesystem. > > Now that the backtick formats the content as in the synopsis, why is it > written __ and not `` in the running text? Perhaps that is because the body text does want to show the placeholder in _italics_ but not as a `literal` string?