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

Re: [PATCH 0/1] log: make the --oneline option work with -L

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 13, 2024, 22:47 UTC
Message-ID
<xmqqfrwt696y.fsf@gitster.g>
In-Reply-To
<CZSZ38DTWF14.3BNXFKTGVPLZQ@jamesliu.io>
"James Liu" <james@jamesliu.io> writes:
> I suppose it isn't intuitive to me which options affect how the commits
> are presented, and which affect the diffs. The help entry for -L states
> that it will "Trace the evolution of the line range", which doesn't
> immediately suggest that it tweaks how the log message is shown.
Sorry, but you lost me.  I do not understand this remark.

The documentation for "-L" does not talk about tweaking how the message is shown at all, because "-L" does not have a say in how the log message gets shown at all. And the documentation for "--oneline", "--format", "--pretty" all should talk about how the log message gets shown.

Anyway, if you are happy with "--no-patch", that's good.
Previous: James Liu
Message 7 of 7 in “log: make the --oneline option work with -L”
  1. 0/1 log: make the --oneline option work with -LJames Liu, Mar 13, 2024
  2. 1/1 log: ensure diffs are omitted with --onelineJames Liu, Mar 13, 2024
  3. Junio C HamanoMar 13, 2024
  4. Beat BolliMar 13, 2024
  5. James LiuMar 13, 2024
  6. James LiuMar 13, 2024
  7. Junio C HamanoMar 13, 2024

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.