X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=GitRepo.vala;fp=GitRepo.vala;h=07c68979c0687bf27997de16a0f9d275b7681bb5;hp=3b12ce6734b5ed8a3d4a7e5a3e1b2064f432faf3;hb=3cca0027d1512c6d702c0e4cabd48b4e0e58d885;hpb=992ddd84eee06f460eeae57e5d3d1fcb342fe5aa 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) {