Empty author may be presented by svn as an empty string or a null value.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
02d3dca3bf
commit
35c636ec48
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user