about summary refs log tree commit diff
path: root/third_party/git/perl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/perl')
-rw-r--r--third_party/git/perl/Git.pm2
-rw-r--r--third_party/git/perl/Git/SVN.pm4
2 files changed, 1 insertions, 5 deletions
diff --git a/third_party/git/perl/Git.pm b/third_party/git/perl/Git.pm
index 54c9ed0dde..62c472e0ce 100644
--- a/third_party/git/perl/Git.pm
+++ b/third_party/git/perl/Git.pm
@@ -563,7 +563,7 @@ sub get_record {
 Query user C<PROMPT> and return answer from user.
 
 Honours GIT_ASKPASS and SSH_ASKPASS environment variables for querying
-the user. If no *_ASKPASS variable is set or an error occurred,
+the user. If no *_ASKPASS variable is set or an error occoured,
 the terminal is tried as a fallback.
 If C<ISPASSWORD> is set and true, the terminal disables echo.
 
diff --git a/third_party/git/perl/Git/SVN.pm b/third_party/git/perl/Git/SVN.pm
index 4b28b87784..76b2965905 100644
--- a/third_party/git/perl/Git/SVN.pm
+++ b/third_party/git/perl/Git/SVN.pm
@@ -1491,10 +1491,6 @@ 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)';
 	}