Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit ad3751b

Browse files
committed
fix commit not being executed
1 parent 3ac7f0c commit ad3751b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/com/zeapo/pwdstore/PasswordStore.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,14 +517,15 @@ private void commit(final String message) {
517517
new GitOperation(PasswordRepository.getRepositoryDirectory(activity), activity) {
518518
@Override
519519
public void execute() {
520+
Log.d(TAG, "Commiting with message " + message);
520521
Git git = new Git(this.repository);
521522
GitAsyncTask tasks = new GitAsyncTask(activity, false, true, this);
522523
tasks.execute(
523524
git.add().addFilepattern("."),
524525
git.commit().setMessage(message)
525526
);
526527
}
527-
};
528+
}.execute();
528529
}
529530

530531
protected void onActivityResult(int requestCode, int resultCode,

0 commit comments

Comments
 (0)