GitRepo.vala
[gitlive] / GitRepo.vala
index ef8bf2b..b460a90 100644 (file)
@@ -163,8 +163,8 @@ public class GitRepo : Object
         
                var cache = GitRepo.singleton().cache;
         //Repo.superclass.constructor.call(this,cfg);
-         if ( !cache.has_key(path) ) {
-               cache.set( path, this);
+               if ( !cache.has_key(path) ) {
+                       cache.set( path, this);
        }
        this.loadBranches();
     }