Skip to content

Commit 3115fe9

Browse files
rushkoffgitster
authored andcommitted
Avoid generating a warning if $fullname{$file} is undefined
Signed-off-by: Nick Woolley <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 444f29c commit 3115fe9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)