repo.git( { "branch" ,"--track" , rn, "origin/" + rn} );
var br = new GitBranch(repo);
br.name = rn;
- br.remoterev = br.lastrev = remotes.get(rn).to_string();
+ br.lastrev = ""; // it's behind
+ br.remoterev = remotes.get(rn).to_string();
br.remote = rn;
+ br.ahead = 0;
+ br.behind = 1;
// behind/ahead == 0...
repo.branches.set(rn, br);