Re: [PATCH] name-rev: update hash descriptions
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 27, 2026, 22:58 UTC
- Message-ID
- <xmqqbj9iqp27.fsf@gitster.g>
- In-Reply-To
- <armZ28MWl9dTHDz6@fruit.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 9 quoted lines
>> --name-only:: >> - Instead of printing both the SHA-1 and the name, print only >> + Instead of printing both the object ID and the name, print only >> the name. If given with --tags the usual tag prefix of >> "tags/" is also omitted from the name, matching the output >> of `git-describe` more closely. > > This looks much better. I didn't see any other instances of "SHA-1" in > the documentation or "40", so this looks complete.
Great to know that somebody already did the grep for us so I do not have to ;-)
"object ID" is the best one among a few synonyms to be used in the description of "--name-only", as the "name" is about the textual "name" name-rev mapped, and not about the "object identifier" that was used as the input to the program.