Skip to content

Commit

Permalink
[PATCH] git-send-email-script - fix 2 small bugs that snuck through a…
Browse files Browse the repository at this point in the history
…n untested bout of editing.

Signed-off-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Ryan Anderson authored and Junio C Hamano committed Aug 3, 2005
1 parent 3342d85 commit ca9a7d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-send-email-script
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if (!defined $from) {
do {
$_ = $term->readline("Who should the emails appear to be from? ",
$from);
while (!defined $_);
} while (!defined $_);

$from = $_;
print "Emails will be sent from: ", $from, "\n";
Expand Down Expand Up @@ -117,7 +117,7 @@ for my $f (@ARGV) {
opendir(DH,$f)
or die "Failed to opendir $f: $!";

push @files, map { +$f . "/" . $_ } grep { -f $_ }
push @files, grep { -f $_ } map { +$f . "/" . $_ }
sort readdir(DH);

} elsif (-f $f) {
Expand Down

0 comments on commit ca9a7d6

Please sign in to comment.