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

Re: [PATCH] log: add %S option (like --source) to log --format

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 2, 2019, 19:33 UTC
Message-ID
<xmqqmuoikg6x.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20181231045335.12883-1-issac.trotts@gmail.com>
issac.trotts@gmail.com writes:
> From: Issac Trotts <issac.trotts@gmail.com>
I think you want to have 
	From: Issac Trotts <issactrotts@google.com>
instead, so that the authorship actually matches your sign-off.
> -	if (source) {
> +	if (source || (rev->pretty_given && (rev->commit_format == CMIT_FMT_USERFORMAT) && w.source)) {
I am not sure why the above is not simply
	if (source || w.source) {
but needs to check pretty-given etc.  Care to explain why?
Thanks.
Previous: issac.trotts@gmail.comNext: Issac Trotts
Message 2 of 3 in “log: add %S option (like --source) to log --format”
  1. log: add %S option (like --source) to log --formatissac.trotts@gmail.com, Dec 31, 2018
  2. Junio C HamanoJan 2, 2019
  3. Issac TrottsJan 8, 2019

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.