{"thread":{"id":"4741","subject":"[PATCH] Empty author may be presented by svn as an empty string or a null value.","startedAt":"2006-07-02T22:21:00Z","lastAt":"2006-07-03T00:07:56Z","messageCount":2,"participants":["Robin Rosenberg","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"23059","messageId":"20060702222100.2863.72633.stgit@h15n1fls34o811.telia.com","threadId":"4741","inReplyTo":null,"subject":"[PATCH] Empty author may be presented by svn as an empty string or a null value.","fromName":"Robin Rosenberg","fromEmail":"robin.rosenberg@dewire.com","sentAt":"2006-07-02T22:21:00Z","receivedAt":"2006-07-02T22:21:00Z","isPatch":true,"sender":{"key":"robin.rosenberg@dewire.com","avatar":"https://avatars.githubusercontent.com/u/46357?v=4"},"body":"From: Robin Rosenberg <robin.rosenberg@dewire.com>\n\n\n---\n\n git-svnimport.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git-svnimport.perl b/git-svnimport.perl\nindex 38ac732..26dc454 100755\n--- a/git-svnimport.perl\n+++ b/git-svnimport.perl\n@@ -534,7 +534,7 @@ sub commit {\n \tmy($author_name,$author_email,$dest);\n \tmy(@old,@new,@parents);\n \n-\tif (not defined $author) {\n+\tif (not defined $author or $author eq \"\") {\n \t\t$author_name = $author_email = \"unknown\";\n \t} elsif (defined $users_file) {\n \t\tdie \"User $author is not listed in $users_file\\n\"\n"},{"id":"23071","messageId":"7vwtavzh2b.fsf@assigned-by-dhcp.cox.net","threadId":"4741","inReplyTo":"20060702222100.2863.72633.stgit@h15n1fls34o811.telia.com","subject":"Re: [PATCH] Empty author may be presented by svn as an empty string or a null value.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-07-03T00:07:56Z","receivedAt":"2006-07-03T00:07:56Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}