mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
fix commit not being executed
This commit is contained in:
@@ -517,6 +517,7 @@ public class PasswordStore extends AppCompatActivity {
|
|||||||
new GitOperation(PasswordRepository.getRepositoryDirectory(activity), activity) {
|
new GitOperation(PasswordRepository.getRepositoryDirectory(activity), activity) {
|
||||||
@Override
|
@Override
|
||||||
public void execute() {
|
public void execute() {
|
||||||
|
Log.d(TAG, "Commiting with message " + message);
|
||||||
Git git = new Git(this.repository);
|
Git git = new Git(this.repository);
|
||||||
GitAsyncTask tasks = new GitAsyncTask(activity, false, true, this);
|
GitAsyncTask tasks = new GitAsyncTask(activity, false, true, this);
|
||||||
tasks.execute(
|
tasks.execute(
|
||||||
@@ -524,7 +525,7 @@ public class PasswordStore extends AppCompatActivity {
|
|||||||
git.commit().setMessage(message)
|
git.commit().setMessage(message)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
}.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void onActivityResult(int requestCode, int resultCode,
|
protected void onActivityResult(int requestCode, int resultCode,
|
||||||
|
Reference in New Issue
Block a user