Signed-off-by: Pierre Habouzit <madcoder@xxxxxxxxxx> --- git-send-email.perl | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/git-send-email.perl b/git-send-email.perl index bdbfac6..94ca5c8 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -374,10 +374,9 @@ for my $f (@ARGV) { push @files, grep { -f $_ } map { +$f . "/" . $_ } sort readdir(DH); - + closedir(DH); } elsif (-f $f or -p $f) { push @files, $f; - } else { print STDERR "Skipping $f - not found.\n"; } -- 1.6.0.3.759.g40a2.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html