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

index 81614b2..8caf8d8 100644 (file)
@@ -69,6 +69,7 @@ public class GitBranch : Object
                //var local =  new Gee.HashMap<string,GitBranch>();
                var remotes  =  new Gee.HashMap<string,string>();
                var remotes_used  =  new Gee.HashMap<string,bool>();
+               var remotes_oidd  =  new Gee.HashMap<string,bool>();
   
                
                var rem = repo.repo.lookup_remote("origin");
@@ -102,7 +103,7 @@ public class GitBranch : Object
                                        remotes_used.set(rname,true);
                                }
                                size_t ahead, behind;
-                               repo.get_ahead_behind(
+                               repo.repo.get_ahead_behind(
                                        br.get_target(),
                                        rh.get_oid(),
                                        out ahead,