mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
corrected a potentially major bug
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user