On Thu, Oct 22, 2026 at 10:28:52PM +0100, Andy Koppe wrote:
Some messages and comments in the code still use "pseudoref" in its old
sense of any ref outside of "refs/", whereas the glossary now calls
those root refs and restricts pseudorefs to FETCH_HEAD and MERGE_HEAD.
Replace "pseudoref" with "root ref" in the help text for
"git for-each-ref --include-root-refs", in comments in refs.h, and in
comments in the bash completion script, including the one for
__git_pseudoref_exists(), which is also used for root refs.
I feel like this sentence is somewhat pointless, as you basically
just explain the diff.
The function
itself is not renamed. There is no obvious term covering both root refs
and pseudorefs, and the old name might need to be kept for third-party
completion scripts.
This is useful though.
Update the description of pseudorefs in refs.h to match the glossary.
And this is again info that can simply be dropped.
Patrick