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

Re: Reference to a commit inside a commit message

From
Vincenzo di Cicco <enzodicicco@gmail.com>
Date
Apr 28, 2014, 20:43 UTC
Message-ID
<CAKOJyXd4eAt5120WnEj6VeRfOG_tz5uYiEDw5cqGpDaQd6bzow@mail.gmail.com>
In-Reply-To
<20140428195544.GN9218@google.com>
Thank you very much
> Why not?

the reason is to avoid mistakes with the hash. An automatic approach can verify the existence of the commit.

Show 7 quoted lines
> See the output of
>
>         git log --grep='In commit '
>
> and
>
>         git log --grep='In v'

I've just tried the commands and noticed that this can be a common practice. This increases my curiosity to know if there is a better way to handle this situation, if you know other thread where was discussed, please tell me the link.

Thanks, NaN

Previous: Jonathan NiederNext: Jeff King
Message 3 of 7 in “Reference to a commit inside a commit message”
  1. enzodicicco@gmail.comApr 28, 2014
  2. Jonathan NiederApr 28, 2014
  3. Vincenzo di CiccoApr 28, 2014
  4. Jeff KingApr 29, 2014
  5. Felipe ContrerasApr 29, 2014
  6. Vincenzo di CiccoApr 29, 2014
  7. Vincenzo di CiccoApr 30, 2014

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.