Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2006-07-03 02:21:00 +0400
committerJunio C Hamano <junkio@cox.net>2006-07-03 04:07:45 +0400
commit35c636ec487d0d5c38e0ce8d3d7bc7ca42c6e5c1 (patch)
tree8cf32cc2c63ed8fea7f6b348f700af66b1ba4c4f /git-svnimport.perl
parent02d3dca3bff6a67dead9f5b97dfe3576fe5b14e5 (diff)
Empty author may be presented by svn as an empty string or a null value.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-svnimport.perl')
-rwxr-xr-xgit-svnimport.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 38ac732ca9..26dc454795 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"