Skip to contentSkip to conversation

cvs: initialize empty password

PATCH New Clemens Buchacher 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
 git-cvsimport.perl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
git-cvsimport.perl +1 -0
index d741115..1ad20ac 100755
@@ -253,6 +253,7 @@ sub conn {
 					}
 				}
 			};
+			$pass = "A" unless $pass;
 		}
 
 		my ($s, $rep);
Signature · 1 line
1.6.5.rc0