git-commit-vandalism/perl/Git
Tobias Klauser 4ddd4bddb1 git-svn: trim leading and trailing whitespaces in author name
In some cases, the svn author names might contain leading or trailing
whitespaces, leading to messages such as:

  Author: user1
   not defined in authors.txt

(the trailing newline leads to the line break). The user "user1" is
defined in authors.txt though, e.g.

  user1 = User <user1@example.com>

Fix this by trimming the author name retreived from svn before using it
in check_author.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-09-28 13:51:42 +09:00
..
LoadCPAN perl: generalize the Git::LoadCPAN facility 2018-03-05 10:52:28 -08:00
SVN git-svn: allow "0" in SVN path components 2016-12-12 10:49:50 -08:00
I18N.pm Makefile: add Perl runtime prefix support 2018-04-11 18:09:56 +09:00
IndexInfo.pm Move Git::IndexInfo into its own file. 2012-07-27 22:36:17 +00:00
LoadCPAN.pm perl Git::LoadCPAN: emit better errors under NO_PERL_CPAN_FALLBACKS 2018-03-05 10:52:28 -08:00
Packet.pm Git/Packet.pm: use 'if' instead of 'unless' 2017-11-22 16:23:55 +09:00
SVN.pm git-svn: trim leading and trailing whitespaces in author name 2019-09-28 13:51:42 +09:00