From 9bdb9d3190b63b6dcc2c577fb277c28f79b54a94 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 13 Mar 2019 15:03:47 +0800 Subject: [PATCH] Git.vala --- Git.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Git.vala b/Git.vala index af4208c2..3cc71573 100644 --- a/Git.vala +++ b/Git.vala @@ -127,7 +127,7 @@ namespace GitLive { var heads = r.list(); foreach(var rh in heads) { - var br = this.getBranch(rh.get_name()); + var br = this.getBranch("refs/head/" + rh.get_shorthand()); GLib.debug("got heads: name=%s rev=%s localrev=%s", rh.get_name(), -- 2.39.2