git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] cvs: initialize empty password

From
Clemens Buchacher <drizzd@aon.at>
Date
Sep 17, 2009, 07:21 UTC
Message-ID
<20090917072101.GA12769@localhost>

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
Message 1 of 1 in “cvs: initialize empty password”
  1. cvs: initialize empty passwordClemens Buchacher, Sep 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.