on sync add non-committed files too

This commit is contained in:
zeapo 2017-06-05 13:24:04 +02:00
parent a45946988e
commit 3a5a322bfa

View File

@ -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");