* Password parsing fix on windows
@ 2012-10-30 9:37 Aleksey Vasenev
0 siblings, 0 replies; only message in thread
From: Aleksey Vasenev @ 2012-10-30 9:37 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: patch.diff --]
[-- Type: application/octet-stream, Size: 421 bytes --]
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 = <PH>;
- $password =~ s/[\012\015]//; # \n\r
+ $password =~ s/[\012\015]+//; # \n\r
close(PH);
} else {
print STDERR $prompt;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-30 9:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 9:37 Password parsing fix on windows Aleksey Vasenev
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).