From 3cca0027d1512c6d702c0e4cabd48b4e0e58d885 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 19 Dec 2018 12:38:02 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GitRepo.vala b/GitRepo.vala index 3b12ce67..07c68979 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -210,6 +210,10 @@ public class GitRepo : Object public string get_config(string key) { + + if (this.config_cache.has_key(key)) { + return this.config_cache.get(key); + } try { return this.git({ "config" , "gitlive." + key }); } catch (Error e) { -- 2.39.2