Thread (1 message) 1 message, 1 author, 2024-01-23

Re: [PATCH 2/5] refs: make `is_pseudoref_syntax()` stricter

From: Junio C Hamano <hidden>
Date: 2024-01-23 17:38:30

Phillip Wood [off-list ref] writes:
I not sure I quite understand what you mean here. Are you saying that
scripts should stop using "git update-ref" and "git rev-parse" for
anything that does not match the new pseudoref syntax?
Yes, I am saying that, and also that we should have been stricter on
what we accept and consider as pseudorefs---not just any file that
sits directly under $GIT_DIR/., but ideally we should have limited
to "^[A-Z]*_HEAD$" or something.  The idea I am floating is to see if
such a tightening can be done now without hearing too many screams.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help