aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2017-06-05 13:24:04 +0200
committerzeapo <mohamed@zenadi.com>2017-06-05 13:24:04 +0200
commit3a5a322bfa54d2b520cfb2ff9dfc03bdea55c23b (patch)
treeb9f049ccef68de415f06559c51f3014216f73e32 /app/src/main/java/com
parenta45946988ee887d395a183849ed98c4fcc3701d3 (diff)
on sync add non-committed files too
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/git/SyncOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/git/SyncOperation.java b/app/src/main/java/com/zeapo/pwdstore/git/SyncOperation.java
index b5c0e6d2..cc82b9b3 100644
--- a/app/src/main/java/com/zeapo/pwdstore/git/SyncOperation.java
+++ b/app/src/main/java/com/zeapo/pwdstore/git/SyncOperation.java
@@ -39,7 +39,7 @@ public class SyncOperation extends GitOperation {
*/
public SyncOperation setCommands() {
Git git = new Git(repository);
- this.addCommand = git.add().setUpdate(true).addFilepattern(".");
+ this.addCommand = git.add().addFilepattern(".");
this.statusCommand = git.status();
this.commitCommand = git.commit().setMessage("[Android Password Store] Sync");
this.pullCommand = git.pull().setRebase(true).setRemote("origin");