]> git.ipfire.org Git - thirdparty/git.git/commit
scalar: fix command documentation section header
authorVictoria Dye <vdye@github.com>
Fri, 2 Sep 2022 15:56:42 +0000 (15:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2022 17:02:55 +0000 (10:02 -0700)
commitb6faef396f0380237deae144ee48caf5ee20ae1e
treed59bf6364b14c823b5f9897f1c8f76244f3129ed
parentd42b38dfb5edf1a7fddd9542d722f91038407819
scalar: fix command documentation section header

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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/scalar/scalar.txt