Thread (3 messages) 3 messages, 2 authors, 2024-10-11

ref: with git update-ref?

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help