[PATCH 1/8] scalar: fix command documentation section header
- From
Victoria Dye via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Aug 31, 2022, 16:02 UTC
- Message-ID
- <fcf73e775746b102a4d5196c5ebbb06467e08cf6.1661961746.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1341.git.1661961746.gitgitgadget@gmail.com>
From: Victoria Dye <vdye@github.com>
Rename the last section header in 'contrib/scalar/scalar.txt' from "Scalar" to "GIT". The linting rules of the 'documentation' CI build enforce the existence of a "GIT" section in command documentation. Although 'scalar.txt' is not yet checked, it will be in a future patch.
Here, changing the header name is more appropriate than making a Scalar-specific exception to the linting rule. The existing "Scalar" section contains only a link back to the main Git documentation, essentially the same as the "GIT" section in builtin documentation. Changing the section name further clarifies the Scalar-Git association and maintains consistency with the rest of Git.
Signed-off-by: Victoria Dye <vdye@github.com> --- contrib/scalar/scalar.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/scalar/scalar.txt b/contrib/scalar/scalar.txt index 1a12dc45077..505a1cea0fd 100644 --- a/contrib/scalar/scalar.txt +++ b/contrib/scalar/scalar.txt @@ -161,6 +161,6 @@ SEE ALSO -------- linkgit:git-clone[1], linkgit:git-maintenance[1]. -Scalar +GIT --- Associated with the linkgit:git[1] suite
-- gitgitgadget