GitMonitorQueue.vala
[gitlive] / GitRepo.vala
index 4487b67..b460a90 100644 (file)
@@ -163,9 +163,10 @@ 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();
     } 
     
     
@@ -201,6 +202,10 @@ public class GitRepo : Object
         }
     
     }
+     
+    
+    
+    
     public string branchesToString()
     {
        var ret = "";