From: Clemens Buchacher Date: Thu, 17 Sep 2009 07:21:02 +0000 (+0200) Subject: cvs: initialize empty password X-Git-Tag: v1.6.5-rc2~28 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e481b1d8db9947681a5c124545ef06951f42155d;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/git-cvsimport.perl b/git-cvsimport.perl index d7411151d..1ad20ac96 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -253,6 +253,7 @@ sub conn { } } }; + $pass = "A" unless $pass; } my ($s, $rep);