Skip to content

Commit 3115fe9

Browse files
rushkoffgitster
authored andcommitted
Avoid generating a warning if $fullname{$file} is undefined
Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 444f29c commit 3115fe9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

git-cvsexportcommit.perl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@
259259
if $file =~ /^no file /
260260
&& $status eq 'Up-to-date';
261261

262-
$cvsstat{$fullname{$file}} = $status;
262+
$cvsstat{$fullname{$file}} = $status
263+
if defined $fullname{$file};
263264
}
264265
}
265266
}

0 commit comments

Comments
 (0)