From: Michael Witten Date: Mon, 13 Apr 2009 18:23:50 +0000 (-0500) Subject: send-email: Handle "GIT:" rather than "GIT: " during --compose X-Git-Tag: v1.6.4-rc0~101^2~2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=40e6e8a0c485e618be366f13247fd745ac00b911;p=git.git send-email: Handle "GIT:" rather than "GIT: " during --compose This should make things a little more robust in terms of user input; before, even the program got it wrong by outputting a line with only "GIT:", which was left in place as a header, because there would be no following space character. Signed-off-by: Michael Witten Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index 172b53c2d..7526ade76 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -529,7 +529,7 @@ if ($compose) { print C <) { - next if m/^GIT: /; + next if m/^GIT:/; if ($in_body) { $summary_empty = 0 unless (/^\n$/); } elsif (/^\n$/) {