git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-send-email: Skipping - not found.

From
TTTimur Tabi <timur@freescale.com>
Date
Apr 28, 2008, 21:15 UTC
Message-ID
<48163E6C.60104@freescale.com>
When I issue this command:

git-send-email --from Timur Tabi <timur@freescale.com> --suppress-cc=all --to timur@tabi.org --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@freescale.com>
RCPT TO:<timur@tabi.org>
From: Timur Tabi <timur@freescale.com>
To: timur@tabi.org
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@freescale.com>
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
Next: Jeff King
Message 1 of 3 in “git-send-email: Skipping - not found.”
  1. Timur TabiApr 28, 2008
  2. Jeff KingApr 29, 2008
  3. Timur TabiApr 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.