aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bostock <sam@sambostock.ca>2025-12-09 06:23:39 +0000
committerJunio C Hamano <gitster@pobox.com>2025-12-09 18:31:36 +0900
commit5ae594f30be8a89a9e345e4e5e454f4b92156da1 (patch)
tree838cbe44246ae8ec6c0427070338d3bcb1bceae5
parenta1cf0cf13ab3a659ac77b7d749d6e5b11dc0142b (diff)
downloadgit-5ae594f30be8a89a9e345e4e5e454f4b92156da1.tar.xz
doc: fix `update-ref` `symref-create` formatting
`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>
-rw-r--r--Documentation/git-update-ref.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt
index 9e6935d38d..184380f994 100644
--- a/Documentation/git-update-ref.txt
+++ b/Documentation/git-update-ref.txt
@@ -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.