From: Kristoffer Haugsbakk Date: Sun, 13 Oct 2024 10:07:25 GMT Subject: Re: with git update-ref? Message-ID: <16d2d47c-5887-4658-b6db-996dac075828@app.fastmail.com> In-Reply-To: On Sun, Oct 13, 2024, at 11:34, Phillip Wood wrote: >> 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