GitBranch.vala
authorAlan Knowles <alan@roojs.com>
Wed, 20 Mar 2019 07:07:36 +0000 (15:07 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Mar 2019 07:07:36 +0000 (15:07 +0800)
GitBranch.vala

index 8a12f2c..9c1bdcb 100644 (file)
@@ -71,13 +71,10 @@ public class GitBranch : Object
                 
   
                
-               if (!force && this.remote_heads != null) {
-                       return;
-               }
                var r = repo.repo.lookup_remote("origin");
                var cb = new GitCallbacks(repo);
                r.connect(Ggit.Direction.FETCH, cb, null, null);
-               this.remote_heads = r.list();
+               var remote_heads = r.list();
        
         
                repo.loadRemoteHeads();