From: Ryan Anderson Date: Mon, 1 Aug 2005 00:04:25 +0000 (-0400) Subject: [PATCH] git-send-email-script - fix 2 small bugs that snuck through an untested bout... X-Git-Tag: v0.99.4~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca9a7d657101cb88246e1770b29296678601750b;p=git.git [PATCH] git-send-email-script - fix 2 small bugs that snuck through an untested bout of editing. Signed-off-by: Ryan Anderson Signed-off-by: Junio C Hamano --- diff --git a/git-send-email-script b/git-send-email-script index 4927cec3d..59bd691fc 100755 --- a/git-send-email-script +++ b/git-send-email-script @@ -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"; @@ -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) {