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 30, 2014, 18:29 UTC
Message-ID
<CAKOJyXduybjMEvkw6e2LijTa553mEPqe2_ELfVy_QZ5kc=RrRg@mail.gmail.com>
In-Reply-To
<CAP8UFD1q2zdJZVkJVsNtGfN35LFmuK5txd91nTak5kGmvvKdWA@mail.gmail.com>
> You should use the latest version of the patch series (v11), because the
> blank line is now automatically added.

Yes interpret-trailers add the blank line, but when call `git commit -m "$MSG" -e` it isn't displayed. I think this happens due to the default value of 'cleanup' option of git-commit that is 'strip' (in my case) when the message is edited. I can't use neither 'verbatim' nor 'whitespace' otherwise all the comments will be displayed.

> And using ':' instead of '=' after "see-also" would be more standard.
Thanks I've updated my script and now I'm using the latest interpret-trailers.
NaN
Previous: Vincenzo di Cicco
Message 7 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.