mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 13:27:46 +00:00
fix: use created repository directly
This commit is contained in:
parent
3a83713715
commit
a96f24ac96
@ -52,8 +52,7 @@ object PasswordRepository {
|
||||
|
||||
fun createRepository(repositoryDir: File) {
|
||||
repositoryDir.delete()
|
||||
Git.init().setDirectory(repositoryDir).call()
|
||||
initializeRepository(repositoryDir)
|
||||
repository = Git.init().setDirectory(repositoryDir).call().repository
|
||||
}
|
||||
|
||||
// TODO add multiple remotes support for pull/push
|
||||
|
Loading…
x
Reference in New Issue
Block a user