diff options
author | zeapo <mohamed@zenadi.com> | 2017-06-05 13:24:04 +0200 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2017-06-05 13:24:04 +0200 |
commit | 3a5a322bfa54d2b520cfb2ff9dfc03bdea55c23b (patch) | |
tree | b9f049ccef68de415f06559c51f3014216f73e32 /app/src/main/java/com | |
parent | a45946988ee887d395a183849ed98c4fcc3701d3 (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.java | 2 |
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"); |