git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: brian m. carlson
Message 5 of 5 in “[DOC] name-rev: --annotate-stdin docs still describe SHA-1”
  1. jyotish kumarSep 27, 2026
  2. brian m. carlsonSep 27, 2026
  3. name-rev: update hash descriptionsjyotish kumar, Sep 27, 2026
  4. brian m. carlsonSep 27, 2026
  5. Junio C HamanoSep 27, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.