GitRepo.vala
authorAlan Knowles <alan@roojs.com>
Wed, 27 Mar 2019 03:58:26 +0000 (11:58 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 Mar 2019 03:58:26 +0000 (11:58 +0800)
GitRepo.vala

index 2de3ab9..8d59f7a 100644 (file)
@@ -338,7 +338,7 @@ public class GitRepo : Object
                //var rs = this.git({ "status" , "-sb" });
                var cb = this.getCurrentBranch();
                  
-               this.ahead_or_behind = cb.ahead > 0 ?  "A" : (cb.benind > 0  ? "B" : "");
+               this.ahead_or_behind = cb.ahead > 0 ?  "A" : (cb.behind > 0  ? "B" : "");
                
                
                this.git_diff  = this.diffWorking();