From 3d8a485b0b777e848f3001d02cf9b1441e9e2ed6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 19 Dec 2018 12:03:41 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) { -- 2.39.2