Merge branch 'tk/git-svn-trim-author-name'
The author names taken from SVN repositories may have extra leading or trailing whitespaces, which are now munged away. * tk/git-svn-trim-author-name: git-svn: trim leading and trailing whitespaces in author name
This commit is contained in:
commit
020011f2cb
@ -1491,6 +1491,10 @@ sub call_authors_prog {
|
||||
|
||||
sub check_author {
|
||||
my ($author) = @_;
|
||||
if (defined $author) {
|
||||
$author =~ s/^\s+//g;
|
||||
$author =~ s/\s+$//g;
|
||||
}
|
||||
if (!defined $author || length $author == 0) {
|
||||
$author = '(no author)';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user