]> git.ipfire.org Git - thirdparty/git.git/commit
Documentation/git-update-ref.txt: discuss symbolic refs
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Mon, 21 Oct 2024 20:47:28 +0000 (22:47 +0200)
committerTaylor Blau <me@ttaylorr.com>
Mon, 21 Oct 2024 20:49:31 +0000 (16:49 -0400)
commit74522b6b12ead82d4e9a39771b8a5cf287e0cb4a
tree52a9b94ea0c34a1437af0b293e045230c87137ea
parent793e308f1ed8197764cce8b88b4ee4e7471287df
Documentation/git-update-ref.txt: discuss symbolic refs

Add a paragraph which just emphasizes that the command without any
options does not support refs in the final arguments.  This is clear
already from the names `<new-oid>` and `<old-oid>` but the right balance
of redundancy makes documentation robust against stray interpretation.

This is also a good place to mention why `--stdin` has those `symref-*`
commands.

Suggested-by: Bence Ferdinandy <bence@ferdinandy.com>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Documentation/git-update-ref.txt