X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=git-svnimport.perl;h=26dc45479532a78febb511bf36017d6106513e70;hb=5d043a3d856bd40d8b34b8836a561e438d23573b;hp=38ac732ca9b677a5647a96db44f7133b47db0648;hpb=100c25f3cf7ddf3d47c39fb721b20424bd78c650;p=git.git diff --git a/git-svnimport.perl b/git-svnimport.perl index 38ac732ca..26dc45479 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -534,7 +534,7 @@ sub commit { my($author_name,$author_email,$dest); my(@old,@new,@parents); - if (not defined $author) { + if (not defined $author or $author eq "") { $author_name = $author_email = "unknown"; } elsif (defined $users_file) { die "User $author is not listed in $users_file\n"