Thread (50 messages) 50 messages, 7 authors, 2024-10-21

Re: with git update-ref?

From: Kristoffer Haugsbakk <hidden>
Date: 2024-10-13 10:07:47

Possibly related (same subject, not in this thread)

On Sun, Oct 13, 2024, at 11:34, Phillip Wood wrote:
quoted
I do not think update-ref is a tool to modify a symbolic-ref.
Didn't we add support for symbolic-refs to update-ref with
'kn/update-ref-symref'? Maybe it only works with --stdin? I've Cc'd
Karthik for clarification on how it is supposed to work.
Yes.  The man page says that you can use the `symref-update` command
with `--stdin`.

So the issue or confusion here seems to be that you have to use specific
commands for symrefs.  git-update-ref(1) won’t try to figure it out.

That seems in line with a plumbing command.

-- 
Kristoffer Haugsbakk
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help