}
Ggit.Branch? getBranch(string remote_name, string remote_branch_name)
{
- GLib.debug("lookup %s:%s", remote_name, remote_branch_name);
+ //GLib.debug("lookup %s:%s", remote_name, remote_branch_name);
foreach(var br in this.branches) {
- GLib.debug("test:%s", br.get_upstream().get_shorthand());
- if ("ref/heads/" + remote_name + "/" + br.get_upstream().get_shorthand() == remote_branch_name) {
+ GLib.debug("test:%s=%s", remote_name + "/" + br.get_upstream().get_shorthand() , remote_branch_name);
+ if (remote_name + "/" + br.get_upstream().get_shorthand() == remote_branch_name) {
return br;
}
}
- GLib.debug("missing %s", remote_branch_name);
+ //GLib.debug("missing %s", remote_branch_name);
return null;
}