git send-email: make the message file name more specific.
This helps editors choosing their syntax hilighting properly. Also make the file live under the git directory. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
a9645b780b
commit
caf0c3d692
@ -124,9 +124,6 @@ my $auth;
|
|||||||
sub unique_email_list(@);
|
sub unique_email_list(@);
|
||||||
sub cleanup_compose_files();
|
sub cleanup_compose_files();
|
||||||
|
|
||||||
# Constants (essentially)
|
|
||||||
my $compose_filename = ".msg.$$";
|
|
||||||
|
|
||||||
# Variables we fill in automatically, or via prompting:
|
# Variables we fill in automatically, or via prompting:
|
||||||
my (@to,@cc,@initial_cc,@bcclist,@xh,
|
my (@to,@cc,@initial_cc,@bcclist,@xh,
|
||||||
$initial_reply_to,$initial_subject,@files,$author,$sender,$smtp_authpass,$compose,$time);
|
$initial_reply_to,$initial_subject,@files,$author,$sender,$smtp_authpass,$compose,$time);
|
||||||
@ -149,6 +146,7 @@ if ($@) {
|
|||||||
|
|
||||||
# Behavior modification variables
|
# Behavior modification variables
|
||||||
my ($quiet, $dry_run) = (0, 0);
|
my ($quiet, $dry_run) = (0, 0);
|
||||||
|
my $compose_filename = $repo->repo_path() . "/.gitsendemail.msg.$$";
|
||||||
|
|
||||||
# Variables with corresponding config settings
|
# Variables with corresponding config settings
|
||||||
my ($thread, $chain_reply_to, $suppress_from, $signed_off_by_cc, $cc_cmd);
|
my ($thread, $chain_reply_to, $suppress_from, $signed_off_by_cc, $cc_cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user