From ca9a7d657101cb88246e1770b29296678601750b Mon Sep 17 00:00:00 2001 From: Ryan Anderson Date: Sun, 31 Jul 2005 20:04:25 -0400 Subject: [PATCH] [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 --- git-send-email-script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-send-email-script b/git-send-email-script index 4927cec3..59bd691f 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) { -- 2.11.0