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

meaning of --8<--

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Jan 18, 2009, 15:56 UTC
Message-ID
<200901181656.37813.markus.heidelberg@web.de>
Hi,

I've seen lines like "--8<--" several times on this list, but have no clue what it is about. OK, seems like it's used to insert diffs in the middle of a mail message. But is this a common convention or git specific and handled by git-am? Is it documented anywhere?

Markus
Next: Peter Harris
Message 1 of 5 in “meaning of --8<--”
  1. Markus HeidelbergJan 18, 2009
  2. Peter HarrisJan 18, 2009
  3. Samuel TardieuJan 19, 2009
  4. Jay SoffianJan 18, 2009
  5. Jeff KingJan 18, 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.