From: Michael Witten Date: Mon, 13 Apr 2009 18:23:50 GMT Subject: [PATCH RFC3 06/13] send-email: Handle "GIT:" rather than "GIT: " during --compose Message-ID: <1239647037-15381-7-git-send-email-mfwitten@gmail.com> In-Reply-To: <1239647037-15381-6-git-send-email-mfwitten@gmail.com> 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 --- git-send-email.perl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-send-email.perl b/git-send-email.perl index 5f01ad2..5bd818e 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -534,7 +534,7 @@ if ($compose) { print C <) { - next if m/^GIT: /; + next if m/^GIT:/; if ($in_body) { $summary_empty = 0 unless (/^\n$/); } elsif (/^\n$/) { -- 1.6.2.2.479.g2aec