Skip to content

Commit 35c636e

Browse files
robinrosenbergJunio C Hamano
authored and
Junio C Hamano
committed
Empty author may be presented by svn as an empty string or a null value.
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 02d3dca commit 35c636e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-svnimport.perl

+1-1
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ sub commit {
534534
my($author_name,$author_email,$dest);
535535
my(@old,@new,@parents);
536536

537-
if (not defined $author) {
537+
if (not defined $author or $author eq "") {
538538
$author_name = $author_email = "unknown";
539539
} elsif (defined $users_file) {
540540
die "User $author is not listed in $users_file\n"

0 commit comments

Comments
 (0)