X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=GitRepo.vala;h=9cb29f6733b7b8b780644b4bbf714f2f9a159267;hb=7df3b2bb9e1fa811992604764cb3484b7aa1cbb9;hp=2de3ab9cad8780966d8068693b9223e71f565c1d;hpb=463d9bef7c47a41870bd411d603f5642d71b0690;p=gitlive diff --git a/GitRepo.vala b/GitRepo.vala index 2de3ab9c..9cb29f67 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -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; }