From: Ævar Arnfjörð Bjarmason Date: Tue, 28 Jun 2022 10:22:18 GMT Subject: Re: [PATCH] git-rebase.txt: use back-ticks consistently Message-ID: <220628.86k091f5fy.gmgdl@evledraar.gmail.com> In-Reply-To: On Mon, Jun 27 2022, Derrick Stolee via GitGitGadget wrote: > From: Derrick Stolee This looks 99% good, but... > While inspecting the 'git rebase' documentation, I noticed that it is > inconsistent with how it uses back-ticks (or other punctuation) for > identifying Git commands, command-line arguments, or values for those > arguments. > > Sometimes, an argument (like '--interactive') would appear without any > punctuation, causing the argument to not have any special formatting. > Other times, arguments or 'git rebase' itself would have single-quotes > giving a bold look (in the HTML documentation at least). > > By consistently using back-ticks, these types of strings appear in a > monospace font with special highlighting to appear more clearly as text > that exists in a command-line invocation of a Git command. > > This rather-large diff is the result of scanning git-rebase.txt and > adding back-ticks as appropriate. Some are adding back-ticks where there > was no punctuation. Others are replacing single quotes. > > There are also a few minor cleanups in the process, such as one place > that did not use tabs for the first paragraph in a bulletted list. > Another case still referred to the dashed form, but it was the only use > in the file except for the heading and NAME section. I think the commit message should speak more matter-of-factly & briefly, i.e. just "change so and so...". > While I noticed this inconsistency when looking at git rebase as part of > the git rebase --update-refs work, I didn't know the best way to update > the document from start to finish. > > This giant update is probably not the best way to present the change. > > I can see splitting it up in a few ways, but I wanted to check to first > see if that was necessary. If it is, then here are the strategies I > considered: > > 1. Focus on type of update. This would mean a change for adding > back-ticks on all --