From: Nick Woolley <nick@noodlefactory.co.uk>
To: git@vger.kernel.org
Subject: [PATCH 2/2] Avoid generating a warning if $fullname{$file} is undefined
Date: Mon, 06 Jul 2009 14:33:45 +0100 [thread overview]
Message-ID: <4A51FD39.4080402@noodlefactory.co.uk> (raw)
Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk>
---
git-cvsexportcommit.perl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index d509468..59b6722 100755
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
@@ -259,7 +259,8 @@ if (@canstatusfiles) {
if $file =~ /^no file /
&& $status eq 'Up-to-date';
- $cvsstat{$fullname{$file}} = $status;
+ $cvsstat{$fullname{$file}} = $status
+ if defined $fullname{$file};
}
}
}
--
1.6.3.3
reply other threads:[~2009-07-06 14:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4A51FD39.4080402@noodlefactory.co.uk \
--to=nick@noodlefactory.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).