Subject: Re: [PATCH 1/3] git send-email: make the message file name more specific.

From: Junio C Hamano <[email-masked]>
Date: Sat, 01 Nov 2008 23:18:08 -0700

Pierre Habouzit <[email-masked]> writes:

> This helps editors choosing their syntax hilighting properly.

Even though I agree this is the right direction to go, unfortunately this
can break people's existing setup.

Having said that, if we were to do this, let's do it the right way and put
these "temporary" files under $GIT_DIR.

>
> Signed-off-by: Pierre Habouzit <[email-masked]>
> ---
>  git-send-email.perl |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/git-send-email.perl b/git-send-email.perl
> index 65c254d..4ca571f 100755
> --- a/git-send-email.perl
> +++ b/git-send-email.perl
> @@ -127,7 +127,7 @@ sub unique_email_list(@);
>  sub cleanup_compose_files();
>  
>  # Constants (essentially)
> -my $compose_filename = ".msg.$$";
> +my $compose_filename = ".gitsendemail.msg.$$";
>  
>  # Variables we fill in automatically, or via prompting:
>  my (@to,@cc,@initial_cc,@bcclist,@xh,
> -- 
> 1.6.0.3.763.g0275.dirty
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to [email-masked]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html