X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Git.vala;h=af4208c25731997228f625aad8499d85ab5808f0;hb=c49dac55f07cbd9135ff76c6e160196571d28506;hp=a7ea7db818799e90563bc9f113ca214452bce510;hpb=c7896d26a0c91f16ef33c37a0f2c4c06076d6ca1;p=gitlive diff --git a/Git.vala b/Git.vala index a7ea7db8..af4208c2 100644 --- a/Git.vala +++ b/Git.vala @@ -95,7 +95,7 @@ namespace GitLive { { GLib.debug("lookup %s", remote_name); foreach(var br in this.branches) { - if (br.get_upstream().get_name() == remote_name) { + if (br.get_upstream().get_short_name() == remote_name) { return br; }