From: Alan Knowles Date: Tue, 30 Oct 2018 06:44:00 +0000 (+0800) Subject: GitRepo.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=a3f138eb624031e06f385eebeb974a1f78ab88bf GitRepo.vala --- diff --git a/GitRepo.vala b/GitRepo.vala index 1b0eaaf6..4c1185fe 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -142,7 +142,10 @@ public class GitRepo : Object { return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.IS_DIR); } - + public bool is_autopush () + { + return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.IS_DIR); + } /** * add: * add files to track.