diff --git a/perl/Git/SVN/Prompt.pm b/perl/Git/SVN/Prompt.pm index 3a6f8af..ae2aeda 100644 --- a/perl/Git/SVN/Prompt.pm +++ b/perl/Git/SVN/Prompt.pm @@ -124,7 +124,7 @@ sub _read_password { if (exists $ENV{GIT_ASKPASS}) { open(PH, "-|", $ENV{GIT_ASKPASS}, $prompt); $password = ; - $password =~ s/[\012\015]//; # \n\r + $password =~ s/[\012\015]+//; # \n\r close(PH); } else { print STDERR $prompt;