From: Alan Knowles Date: Wed, 19 Dec 2018 04:03:41 +0000 (+0800) Subject: GitRepo.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=3d8a485b0b777e848f3001d02cf9b1441e9e2ed6 GitRepo.vala --- diff --git a/GitRepo.vala b/GitRepo.vala index fd202f82..59633f31 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -213,14 +213,12 @@ public class GitRepo : Object public bool is_managed() { return this.get_config("managed") == "1"; - } public bool is_autocommit () { - - return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.EXISTS); + return this.get_config("autocommit") == "1"; } public void set_autocommit(bool val) {