if (remotes_used.get(rn)) {
continue;
}
+ if (repo.branches.has_key(rn)) {
+ GLib.debug("skip tracking branch - same name exists?");
+ continue;
+ }
// not clear how to do this yet...
repo.git( { "branch" ,"--track" , rn, "origin/" + rn} );
var br = new GitBranch(repo);