]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: fix `update-ref` `symref-create` formatting
authorSam Bostock <sam@sambostock.ca>
Tue, 9 Dec 2025 06:23:39 +0000 (06:23 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Dec 2025 09:31:36 +0000 (18:31 +0900)
`symref-create` should be followed `::`, not `:`. The lack of second
colon (`:`) causes it to appear as regular text (`<p>`) instead of as a
description list term (`<dt>`) in the HTML documentation.

Signed-off-by: Sam Bostock <sam@sambostock.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-update-ref.txt

index 9e6935d38d031b4890135e0cce36fffcc349ac1d..184380f994b2854eb73f2fe165ee2c396032c2bf 100644 (file)
@@ -109,7 +109,7 @@ verify::
        Verify <ref> against <old-oid> but do not change it.  If
        <old-oid> is zero or missing, the ref must not exist.
 
-symref-create:
+symref-create::
        Create symbolic ref <ref> with <new-target> after verifying that
        it does not exist.