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

Re: [PATCH 1/2] Documentation: replace sha1 by SHA-1

From
Jeff King <peff@peff.net>
Date
Apr 24, 2009, 21:28 UTC
Message-ID
<20090424212856.GB14435@coredump.intra.peff.net>
In-Reply-To
<1240584575-5702-2-git-send-email-git@drmicha.warpmail.net>
On Fri, Apr 24, 2009 at 04:49:34PM +0200, Michael J Gruber wrote:
Show 10 quoted lines
> --- a/Documentation/git-cat-file.txt
> +++ b/Documentation/git-cat-file.txt
> @@ -76,7 +76,7 @@ If '--batch' is specified, output of the following form is printed for each
>  object specified on stdin:
>  
>  ------------
> -<sha1> SP <type> SP <size> LF
> +<SHA-1> SP <type> SP <size> LF
>  <contents> LF
>  ------------

Maybe it is just me, but I find the original for this one easier to read. Perhaps because <sha1> is really a variable name here (but for a human reader to interpret instead of a compiler), so I find the punctuation and capitalization distracting.

I wonder if all <sha1> should simply be left as-is.
-Peff
Previous: Michael J GruberNext: Junio C Hamano
Message 9 of 12 in “Unify use of [sha,SHA][,-]1”
  1. 0/2 Unify use of [sha,SHA][,-]1Michael J Gruber, Apr 24, 2009
  2. 1/2 Documentation: replace sha1 by SHA-1Michael J Gruber, Apr 24, 2009
  3. 2/2 Documentation: replace SHA1 by SHA-1Michael J Gruber, Apr 24, 2009
  4. Jeff KingApr 24, 2009
  5. Johannes SixtApr 24, 2009
  6. Wincent ColaiutaApr 24, 2009
  7. Michael J GruberApr 24, 2009
  8. Michael J GruberApr 24, 2009
  9. Jeff KingApr 24, 2009
  10. Junio C HamanoApr 24, 2009
  11. Felipe ContrerasApr 25, 2009
  12. Dmitry PotapovApr 25, 2009

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.