projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
060fe57
)
git-send-email.perl: Add angle brackets to In-Reply-To if necessary
author
David Kastrup
<dak@gnu.org>
Wed, 12 Sep 2007 05:53:45 +0000
(07:53 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 12 Sep 2007 07:57:38 +0000
(
00:57
-0700)
Although message-id by defintion should have surrounding angle
brackets, there is no point forcing people to type them in.
Signed-off-by: David Kastrup <dak@gnu.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 e0b7d1245eb78b2a74d9de3e86154ebe93f93ca4..195fe6f70a3a13c17b67ad8d067e8e0ff4cc9195 100755
(executable)
--- a/
git-send-email.perl
+++ b/
git-send-email.perl
@@
-317,7
+317,8
@@
if ($thread && !defined $initial_reply_to && $prompting) {
} while (!defined $_);
$initial_reply_to = $_;
- $initial_reply_to =~ s/(^\s+|\s+$)//g;
+ $initial_reply_to =~ s/^\s+<?/</;
+ $initial_reply_to =~ s/>?\s+$/>/;
}
if (!$smtp_server) {