git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Empty author may be presented by svn as an empty string or a null value.

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Jul 2, 2006, 22:21 UTC
Message-ID
<20060702222100.2863.72633.stgit@h15n1fls34o811.telia.com>
From: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 git-svnimport.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 38ac732..26dc454 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"
Next: Junio C Hamano
Message 1 of 2 in “Empty author may be presented by svn as an empty string or a null value.”
  1. Empty author may be presented by svn as an empty string or a null value.Robin Rosenberg, Jul 2, 2006
  2. Junio C HamanoJul 3, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.