mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 21:38:03 +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) {
|
fun createRepository(repositoryDir: File) {
|
||||||
repositoryDir.delete()
|
repositoryDir.delete()
|
||||||
Git.init().setDirectory(repositoryDir).call()
|
repository = Git.init().setDirectory(repositoryDir).call().repository
|
||||||
initializeRepository(repositoryDir)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO add multiple remotes support for pull/push
|
// TODO add multiple remotes support for pull/push
|
||||||
|
Loading…
x
Reference in New Issue
Block a user