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

Re: [PATCH RFC] builtin/log: include From in git show --format=email

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 14, 2025, 20:35 UTC
Message-ID
<xmqqh64wl0wl.fsf@gitster.g>
In-Reply-To
<20250214-git-show-from-email-v1-1-df6469635454@bootlin.com>
Antonin Godard <antonin.godard@bootlin.com> writes:
> Currently, when the format.from and format.forceInBodyFrom options are
> configured, the command `git show --format=email <commit>` command does
> not include "From: user <email>" in the body, even though I believe it
> is expected when using this format.

Aren't "format.*" configuration variables for "git format-patch", and not "git show" or "git log"?

I do not see there is anything that needs fixing, but I may be missing something.

Previous: Antonin GodardNext: Antonin Godard
Message 2 of 4 in “builtin/log: include From in git show --format=email”
  1. builtin/log: include From in git show --format=emailAntonin Godard, Feb 14, 2025
  2. Junio C HamanoFeb 14, 2025
  3. Antonin GodardFeb 17, 2025
  4. Junio C HamanoFeb 18, 2025

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.