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

Re: [PATCH] git-send-email: Add --threaded option

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 27, 2007, 05:21 UTC
Message-ID
<7vvedaq8eg.fsf@assigned-by-dhcp.pobox.com>
In-Reply-To
<11828981103069-git-send-email-aroben@apple.com>
Adam Roben <aroben@apple.com> writes:
Show 6 quoted lines
> The --threaded option controls whether the In-Reply-To header will be set on
> any emails sent. The current behavior is to always set this header, so this
> option is most useful in its negated form, --no-threaded. This behavior can
> also be controlled through the 'sendemail.threaded' config setting.
>
> Signed-off-by: Adam Roben <aroben@apple.com>

Thanks. I've always felt that send-email has too much built-in policy; I think this is a sensible change.

Show 8 quoted lines
> @@ -138,8 +141,8 @@ my (@to,@cc,@initial_cc,@bcclist,@xh,
>  	$initial_reply_to,$initial_subject,@files,$from,$compose,$time);
>  
>  # Behavior modification variables
> -my ($chain_reply_to, $quiet, $suppress_from, $no_signed_off_cc,
> -	$dry_run) = (1, 0, 0, 0, 0);
> +my ($threaded, $chain_reply_to, $quiet, $suppress_from, $no_signed_off_cc,
> +	$dry_run) = (1, 1, 0, 0, 0, 0);

While we are at it, you might want to make everything other than quiet and dry_run overridable the same way.

Previous: Adam RobenNext: Adam Roben
Message 2 of 4 in “git-send-email: Add --threaded option”
  1. git-send-email: Add --threaded optionAdam Roben, Jun 26, 2007
  2. Junio C HamanoJun 27, 2007
  3. Adam RobenJun 27, 2007
  4. Junio C HamanoJun 27, 2007

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.