From: Alan Knowles Date: Wed, 19 Dec 2018 04:05:53 +0000 (+0800) Subject: GitRepo.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=df2cd8eeda497b41b99cff93036f9d4ae9aec0c9 GitRepo.vala --- diff --git a/GitRepo.vala b/GitRepo.vala index 951a46f5..1970bc4c 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -253,8 +253,7 @@ public class GitRepo : Object } public bool is_autopush () { - - return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.EXISTS); + return this.get_config("autopush") == "1"; } public void set_autopush(bool val) {