aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2017-05-28 18:37:25 +0200
committerzeapo <mohamed@zenadi.com>2017-05-28 18:37:25 +0200
commitfaa572ce53a6b1a7cf65f54acd038a00e260f752 (patch)
tree23c5bb28decff6e4a80c148126bd817dbf9be719
parent72fcf46ca999326c0a6d9a8e3820babc6916240e (diff)
fix new passwords no longer being added
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/PasswordStore.java2
1 files changed, 1 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 af5567c4..cfb1f269 100644
--- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
+++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
@@ -550,7 +550,7 @@ public class PasswordStore extends AppCompatActivity {
Git git = new Git(this.repository);
GitAsyncTask tasks = new GitAsyncTask(activity, false, true, this);
tasks.execute(
- git.add().setUpdate(true).addFilepattern("."),
+ git.add().addFilepattern("."),
git.commit().setMessage(message)
);
}