]> git.ipfire.org Git - thirdparty/git.git/blobdiff - perl/Git/SVN.pm
Merge branch 'js/update-index-ignore-removal-for-skip-worktree'
[thirdparty/git.git] / perl / Git / SVN.pm
index 76b29659057d329670ce07b102de37caf133e97f..4b28b8778474bec673dd7f82fde0aba7afcafab4 100644 (file)
@@ -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)';
        }