summaryrefslogtreecommitdiff
path: root/git-cvsimport.perl
diff options
context:
space:
mode:
authorClemens Buchacher <drizzd@aon.at>2009-09-17 07:21:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-09-17 07:38:49 (GMT)
commite481b1d8db9947681a5c124545ef06951f42155d (patch)
tree51d96c852e71b07ae8a86ebdffcbde870f371f24 /git-cvsimport.perl
parent8426f672fc65239135b1f1580bb79ecb16fd05f0 (diff)
downloadgit-e481b1d8db9947681a5c124545ef06951f42155d.zip
git-e481b1d8db9947681a5c124545ef06951f42155d.tar.gz
git-e481b1d8db9947681a5c124545ef06951f42155d.tar.bz2
cvs: initialize empty password
If we do not read a password from the command line, and there are no passwords stored in .cvspass, we have to initialize the password with just "A". This fixes a regression introduced by 3fb9d582 (Do not scramble password read from .cvspass). Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsimport.perl')
-rwxr-xr-xgit-cvsimport.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index d741115..1ad20ac 100755
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
@@ -253,6 +253,7 @@ sub conn {
}
}
};
+ $pass = "A" unless $pass;
}
my ($s, $rep);