corrected a potentially major bug

This commit is contained in:
knuthy
2014-09-06 18:04:11 +02:00
parent 51b3334000
commit 7972154bd1

View File

@@ -44,6 +44,11 @@ public class PasswordRepository {
localDir.delete();
try {
// create the directory
Repository repository = FileRepositoryBuilder.create(new File(localDir, ".git"));
repository.create();
Git.init()
.setDirectory(localDir)
.call();