All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: git@vger.kernel.org
Subject: git-send-email: Skipping  - not found.
Date: Mon, 28 Apr 2008 16:15:24 -0500	[thread overview]
Message-ID: <48163E6C.60104@freescale.com> (raw)

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

             reply	other threads:[~2008-04-28 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 21:15 Timur Tabi [this message]
2008-04-29 20:06 ` git-send-email: Skipping - not found Jeff King
2008-04-29 20:09   ` Timur Tabi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48163E6C.60104@freescale.com \
    --to=timur@freescale.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.