diff options
author | Björn Gustavsson <[email protected]> | 2010-04-13 09:03:10 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-04-13 09:54:09 +0200 |
commit | 80206a5b66365bf54c3e6f6a8ae1facbeeed8d00 (patch) | |
tree | d50907799663116a90bbd6f3b3d185744f33e638 | |
parent | fbce213bff1aec37cbd18ed94decbd44198bd9cd (diff) | |
download | otp-80206a5b66365bf54c3e6f6a8ae1facbeeed8d00.tar.gz otp-80206a5b66365bf54c3e6f6a8ae1facbeeed8d00.tar.bz2 otp-80206a5b66365bf54c3e6f6a8ae1facbeeed8d00.zip |
cook: Fill in more email header fields
From git 1.7.0.5, "git imap-send" will require more email header
fields to be present.
-rwxr-xr-x | cook | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,6 +27,13 @@ my $output_file; } my $title = "What's cooking in erlang/otp ($date)"; +my $from = `git config imap.user`; +my $header_date = gmtime(time); +chomp $from; +print "From - $header_date\n"; +print "From: $from\n" + if $from ne ''; +print "Date: $header_date\n"; print "To: erlang patches <erlang-patches\@erlang.org>\n"; print "Subject: $title\n"; print "X-dev-at: ", `git rev-parse dev`; |