summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a9645b7)
raw | patch | inline | side by side (parent: a9645b7)
author | Pierre Habouzit <madcoder@debian.org> | |
Mon, 10 Nov 2008 23:53:59 +0000 (00:53 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 11 Nov 2008 20:19:07 +0000 (12:19 -0800) |
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>
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>
git-send-email.perl | patch | blob | history |
diff --git a/git-send-email.perl b/git-send-email.perl
index 94ca5c89ad086bac754fb6b6b907fd4e968e8024..aaace02fa6e886e51ec23b7d5d23eab2d775d1c6 100755 (executable)
--- a/git-send-email.perl
+++ b/git-send-email.perl
sub unique_email_list(@);
sub cleanup_compose_files();
-# Constants (essentially)
-my $compose_filename = ".msg.$$";
-
# Variables we fill in automatically, or via prompting:
my (@to,@cc,@initial_cc,@bcclist,@xh,
$initial_reply_to,$initial_subject,@files,$author,$sender,$smtp_authpass,$compose,$time);
# Behavior modification variables
my ($quiet, $dry_run) = (0, 0);
+my $compose_filename = $repo->repo_path() . "/.gitsendemail.msg.$$";
# Variables with corresponding config settings
my ($thread, $chain_reply_to, $suppress_from, $signed_off_by_cc, $cc_cmd);