diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-06-20 21:47:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-20 21:47:06 -0700 |
commit | 451316d9bd9d117533cf32bb352bc370190075fc (patch) | |
tree | 4e2d5ed88c4d5dfd781bfb9b5c8e029c27fa6f8c /git-send-email.perl | |
parent | b58f6b50c1032a8ac56ab09e99500d43da3919d1 (diff) | |
parent | cb8a9bd518002dd4fb693df6230b4976bafc15e0 (diff) | |
download | git-451316d9bd9d117533cf32bb352bc370190075fc.tar.gz git-451316d9bd9d117533cf32bb352bc370190075fc.tar.xz |
Merge branch 'pb/send-email-cccmd-fix'
* pb/send-email-cccmd-fix:
Test cccmd in t9001-send-email.sh and fix some bugs
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | 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 303e03a8c..8ce6f1fe5 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -334,7 +334,7 @@ if (@suppress_cc) { } if ($suppress_cc{'all'}) { - foreach my $entry (qw (ccmd cc author self sob body bodycc)) { + foreach my $entry (qw (cccmd cc author self sob body bodycc)) { $suppress_cc{$entry} = 1; } delete $suppress_cc{'all'}; @@ -1104,7 +1104,7 @@ foreach my $t (@files) { close F; if (defined $cc_cmd && !$suppress_cc{'cccmd'}) { - open(F, "$cc_cmd $t |") + open(F, "$cc_cmd \Q$t\E |") or die "(cc-cmd) Could not execute '$cc_cmd'"; while(<F>) { my $c = $_; |