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

Re: [PATCH] doc: git-diff: rewrite EXAMPLES section

From
Julia Evans <julia@jvns.ca>
Date
Nov 3, 2026, 17:16 UTC
Message-ID
<57e9dc76-9cab-48e7-95c6-88868137202d@app.fastmail.com>
In-Reply-To
<pull.2293.git.1793720007182.gitgitgadget@gmail.com>
Show 7 quoted lines
>      * I'm not 100% sure about the table format, it does make it more
>        compact which is really nice and makes it much more readable, but on
>        an 80-character terminal there is some wrapping. One potential con is
>        that it means we can't include as many details about what the command
>        does. From my point of view that's a good thing because in a "cheat
>        sheet" format it's very important to be concise, and people can
>        always read the rest of the man page for the details.

While working on something else immediately after sending this, I learned that Asciidoc has support for horizontal definition lists which I think would make more sense than a table here. And they can be easily changed to a vertical definition list by just removing the [horizontal] if there's an issue in the future. https://docs.asciidoctor.org/asciidoc/latest/lists/horizontal/

Previous: Julia Evans via GitGitGadgetNext: Junio C Hamano
Message 2 of 7 in “doc: git-diff: rewrite EXAMPLES section”
  1. doc: git-diff: rewrite EXAMPLES sectionJulia Evans via GitGitGadget, Nov 3, 2026
  2. Julia EvansNov 3, 2026
  3. Junio C HamanoNov 3, 2026
  4. Julia EvansNov 3, 2026
  5. Junio C HamanoNov 3, 2026
  6. Julia EvansNov 3, 2026
  7. Junio C HamanoNov 3, 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.