Git.vala
[gitlive] / Git.vala
index 1124fda..cc45575 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -128,7 +128,7 @@ namespace  GitLive {
                                
                                var heads = r.list();
                                foreach(var rh in heads) {
-                                       var br = this.getBranch(n, rh.get_shorthand());
+                                       var br = this.getBranch(n, rh.get_name());
                                
                                        GLib.debug("got heads: name=%s   rev=%s  localrev=%s",
                                                rh.get_name(),