提交 35c636ec 编写于 作者: R Robin Rosenberg 提交者: Junio C Hamano

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

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 02d3dca3
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册