projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
577e108
)
Git.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Mar 2019 07:16:45 +0000
(15:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Mar 2019 07:16:45 +0000
(15:16 +0800)
Git.vala
patch
|
blob
|
history
diff --git
a/Git.vala
b/Git.vala
index
ed4bc6d
..
057effe
100644
(file)
--- a/
Git.vala
+++ b/
Git.vala
@@
-296,8
+296,12
@@
namespace GitLive {
this.remote_heads = r.list();
foreach(var br in this.remote_heads) {
this.remote_heads = r.list();
foreach(var br in this.remote_heads) {
+ if (!rn.has_prefix("refs/heads/")) {
+ continue;
+ }
+
GLib.debug("Remote: name=%s oid=%s local_oid=%s is_local=%s",
GLib.debug("Remote: name=%s oid=%s local_oid=%s is_local=%s",
- br.get_name(),
+ br.get_name()
.substring(12)
,
br.get_oid().to_string(),
br.get_local_oid().to_string(),
br.is_local() ? "Y" : "n"
br.get_oid().to_string(),
br.get_local_oid().to_string(),
br.is_local() ? "Y" : "n"