ref: with git update-ref?
From: Bence Ferdinandy <hidden>
Date: 2024-10-11 20:51:50
From: Bence Ferdinandy <hidden>
Date: 2024-10-11 20:51:50
Hi, the documentation for `git update-ref` has this sentence:
It also allows a "ref" file to be a symbolic pointer to another ref file by starting with the four-byte header sequence of "ref:".
After fumbling around a bit and getting errors like fatal: ref:refs/remotes/origin/test: not a valid SHA1 I looked in builtin/update-ref.c and I do not see a call to refs_update_symref nor any checks for "ref:". Am I missing something here? Thanks, Bence -- bence.ferdinandy.com