From 3a5a322bfa54d2b520cfb2ff9dfc03bdea55c23b Mon Sep 17 00:00:00 2001 From: zeapo Date: Mon, 5 Jun 2017 13:24:04 +0200 Subject: on sync add non-committed files too --- app/src/main/java/com/zeapo/pwdstore/git/SyncOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3