Uncommited changes synced
[gitlive] / GitRepo.vala
index 2de3ab9..9cb29f6 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();
@@ -705,7 +705,7 @@ public class GitRepo : Object
                ret += " " + line.get_text() ;
                return 0;
        });
-       GLib.debug("returning %s", ret);
+       //GLib.debug("returning %s", ret);
        return ret;
     }