git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cvs: initialize empty password
@ 2009-09-17  7:21 Clemens Buchacher
  0 siblings, 0 replies; only message in thread
From: Clemens Buchacher @ 2009-09-17  7:21 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Dirk Hörner, Pascal Obry

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>
---
 git-cvsimport.perl |    1 +
 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);
-- 
1.6.5.rc0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-17  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-17  7:21 [PATCH] cvs: initialize empty password Clemens Buchacher

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 NNTP newsgroup(s).