зеркало из https://github.com/microsoft/git.git
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:
Родитель
02d3dca3bf
Коммит
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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче