aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2016-12-25 13:33:52 +0100
committerMohamed Zenadi <mohamed@zenadi.com>2016-12-25 13:33:52 +0100
commitad3751b44f097fb45eb294aff8995e67605bb471 (patch)
treef83258531e971dc39ef2b3d14c027db0a6aa8424 /app/src
parent3ac7f0c36125ee05d8375138850ad337c4e1b25f (diff)
fix commit not being executed
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/PasswordStore.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
index 6449ca65..b2dafdb8 100644
--- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
+++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
@@ -517,6 +517,7 @@ public class PasswordStore extends AppCompatActivity {
new GitOperation(PasswordRepository.getRepositoryDirectory(activity), activity) {
@Override
public void execute() {
+ Log.d(TAG, "Commiting with message " + message);
Git git = new Git(this.repository);
GitAsyncTask tasks = new GitAsyncTask(activity, false, true, this);
tasks.execute(
@@ -524,7 +525,7 @@ public class PasswordStore extends AppCompatActivity {
git.commit().setMessage(message)
);
}
- };
+ }.execute();
}
protected void onActivityResult(int requestCode, int resultCode,