From ad3751b44f097fb45eb294aff8995e67605bb471 Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Sun, 25 Dec 2016 13:33:52 +0100 Subject: fix commit not being executed --- app/src/main/java/com/zeapo/pwdstore/PasswordStore.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main') 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, -- cgit v1.2.3