git-send-email: Skipping - not found.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I issue this command:

git-send-email  --from Timur Tabi <timur@xxxxxxxxxxxxx> --suppress-cc=all --to
timur@xxxxxxxx --smtp-server remotesmtp.freescale.net
0001--PATCH-Update-CS4270-driver-to-ASoC-V2.patch

I get this output:

Skipping  - not found.
0001--PATCH-Update-CS4270-driver-to-ASoC-V2.patch
OK. Log says:
Server: remotesmtp.freescale.net
MAIL FROM:<timur@xxxxxxxxxxxxx>
RCPT TO:<timur@xxxxxxxx>
From: Timur Tabi <timur@xxxxxxxxxxxxx>
To: timur@xxxxxxxx
Subject: [PATCH] Update CS4270 driver to ASoC V2
Date: Mon, 28 Apr 2008 16:13:34 -0500
Message-Id: <1209417214-17376-1-git-send-email-timur@xxxxxxxxxxxxx>
X-Mailer: git-send-email 1.5.5

Result: 250 2.0.0 m3SLDY4k005131 Message accepted for delivery


I don't know enough about Perl to debug this, but I presume the problem is in
this code:

for my $f (@ARGV) {
	if (-d $f) {
		opendir(DH,$f)
			or die "Failed to opendir $f: $!";

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

	} elsif (-f $f) {
		push @files, $f;

	} else {
		print STDERR "Skipping $f - not found.\n";
	}
}

My guess is that "$f", at some point, is an empty string or a blank space.

-- 
Timur Tabi
Linux kernel developer at Freescale
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux