summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6bfb27a)
raw | patch | inline | side by side (parent: 6bfb27a)
author | Ryan Anderson <ryan@michonline.com> | |
Thu, 2 Feb 2006 16:56:06 +0000 (11:56 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Feb 2006 01:52:50 +0000 (17:52 -0800) |
git-send-email, when used with --compose, provided the user with a mbox-format
file to edit. Some users, however, were confused by the leading, blank, "From
" line, so this change puts the value that will appear on the From: line of the
actual email on this line, along with a note that the line is ignored.
Signed-off-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
file to edit. Some users, however, were confused by the leading, blank, "From
" line, so this change puts the value that will appear on the From: line of the
actual email on this line, along with a note that the line is ignored.
Signed-off-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-send-email.perl | patch | blob | history |
diff --git a/git-send-email.perl b/git-send-email.perl
index ec1428d961206f12e195274aea6ea3ae52374898..51b7513b5ad4d2a4327f81bd22fb5f674b3a663d 100755 (executable)
--- a/git-send-email.perl
+++ b/git-send-email.perl
# effort to have it be unique
open(C,">",$compose_filename)
or die "Failed to open for writing $compose_filename: $!";
- print C "From \n";
+ print C "From $from # This line is ignored.\n";
printf C "Subject: %s\n\n", $initial_subject;
printf C <<EOT;
GIT: Please enter your email below.