Re: [PATCH] glossary: use "object ID" as the canonical term
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 26, 2026, 17:08 UTC
- Message-ID
- <xmqqecdcs83z.fsf@gitster.g>
- In-Reply-To
- <pull.2282.git.1793019999896.gitgitgadget@gmail.com>
"Julia Evans via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 quoted lines
> From: Julia Evans <julia@jvns.ca> > > Currently in the glossary "object name" is used as the canonical term to > refer to an object's SHA-1 (or SHA-256) identifier. However, in several > places in the documentation, "object name" is used with a different > meaning, for example:
These other places should be fixed, IMHO, though.
Show 9 quoted lines
> > from git-rev-parse.adoc: > Usually the object names are output in SHA-1 form (with possible > ^ prefix); this option makes them output in a form as close to the > original input as possible. > > from gitrevisions.adoc: > Here are various ways to spell object names. > (lists <refname>, HEAD, etc)
You can use <refname>, HEAD, etc., where the command takes object names. It exactly refers to those 40 hexadecimal digits to identify objects.
I'll reject this.