Skip to content

git-send-email cleanups

Ævar Arnfjörð Bjarmason git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16send-email: use lexical filehandle for opendirgit-send-email.perl+3 -30 replies
2/16send-email: use lexical filehandles for $composegit-send-email.perl+11 -110 replies
3/16send-email: use lexical filehandles during sendinggit-send-email.perl+7 -70 replies
4/16send-email: get_patch_subject doesn't need a prototypegit-send-email.perl+1 -10 replies
5/16send-email: file_declares_8bit_cte doesn't need a prototypegit-send-email.perl+1 -10 replies
6/16send-email: unique_email_list doesn't need a prototypegit-send-email.perl+1 -20 replies
7/16send-email: cleanup_compose_files doesn't need a prototypegit-send-email.perl+1 -30 replies
8/16send-email: use \E***\Q instead of \*\*\*git-send-email.perl+1 -10 replies
9/16send-email: sanitize_address use $foo, not "$foo"git-send-email.perl+1 -10 replies
10/16send-email: sanitize_address use qq["foo"], not "\"foo\""git-send-email.perl+1 -10 replies
11/16send-email: use (?:) instead of () if no match variables are neededgit-send-email.perl+1 -10 replies
12/16send-email: is_rfc2047_quoted use qr// regexesgit-send-email.perl+2 -20 replies
13/16send-email: extract_valid_address use qr// regexes and /ogit-send-email.perl+4 -46 replies
14/16send-email: send_message die on $!, not $?git-send-email.perl+1 -10 replies
15/16send-email: make_message_id use "require" instead of "use"git-send-email.perl+1 -10 replies
16/16send-email: use Perl idioms in while loopgit-send-email.perl t/t9001-send-email.sh+3 -40 replies

Reviews trailers per patch

None of the 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJay Soffian
SeriesA-b
1/16
2/16
3/16
4/16
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/16] git-send-email cleanups

As threatened here's a series that cleans up some of the glaring warts in git-send-email.

Ævar Arnfjörð Bjarmason (16):
send-email: use lexical filehandle for opendir
send-email: use lexical filehandles for $compose
send-email: use lexical filehandles during sending
send-email: get_patch_subject doesn't need a prototype
send-email: file_declares_8bit_cte doesn't need a prototype
send-email: unique_email_list doesn't need a prototype
send-email: cleanup_compose_files doesn't need a prototype
send-email: use \E***\Q instead of \*\*\*
send-email: sanitize_address use $foo, not "$foo"
send-email: sanitize_address use qq["foo"], not "\"foo\""
send-email: use (?:) instead of () if no match variables are needed
send-email: is_rfc2047_quoted use qr// regexes
send-email: extract_valid_address use qr// regexes and /o
send-email: send_message die on $!, not $?
send-email: make_message_id use "require" instead of "use"
send-email: use Perl idioms in while loop

 git-send-email.perl   |   80 +++++++++++++++++++++++-------------------------
 t/t9001-send-email.sh |    2 +-
 2 files changed, 39 insertions(+), 43 deletions(-)
Signature · 1 line
1.7.3.159.g610493