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

Re: [PATCH] custom log formats for "diff --submodule=log"

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Nov 11, 2012, 11:26 UTC
Message-ID
<CALkWK0mYs7Q1256gY7ZH3Ng3xbYv2+XVHCZ7XYWgWUp2O-VzqQ@mail.gmail.com>
In-Reply-To
<20121108202940.GA7982@sigill.intra.peff.net>
Hi Peff,
Jeff King wrote:
Show 6 quoted lines
> An off-list discussion made me wonder if something like this would be
> useful:
>
>   git log -p --submodule=log:'  %m %an <%ae>: %s'
>
> where the format could be whatever you find useful.

Interesting. Don't you mean `git diff` in place of `git log -p` though? I don't think `git log --submodule` does anything differently from `git log`. Should this respect format.pretty? Does it?

Ram
Previous: Jeff KingNext: Ramkumar Ramachandra
Message 2 of 4 in “custom log formats for "diff --submodule=log"”
  1. custom log formats for "diff --submodule=log"Jeff King, Nov 8, 2012
  2. Ramkumar RamachandraNov 11, 2012
  3. Ramkumar RamachandraNov 11, 2012
  4. Jeff KingNov 12, 2012

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.