mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-06 17:04:09 +02:00
corrected a potentially major bug
This commit is contained in:
parent
51b3334000
commit
7972154bd1
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue