projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NewBranch.bjs
[gitlive]
/
Git.vala
diff --git
a/Git.vala
b/Git.vala
index
66b4209
..
63c03c7
100644
(file)
--- a/
Git.vala
+++ b/
Git.vala
@@
-16,9
+16,12
@@
void main()
}
);
}
);
- Ggit.init();
-
+ Ggit.init();
+ var a = new GitLive.Repo("/home/alan/gitlive/web.Texon");
+ a.fetchAll();
+ return;
+ /*
GLib.Timeout.add (1, () => {
GLib.debug("Meanwhile");
return true;
GLib.Timeout.add (1, () => {
GLib.debug("Meanwhile");
return true;
@@
-105,7
+108,10
@@
namespace GitLive {
var br = r.get() as Ggit.Branch;
if (br == null) {
continue;
var br = r.get() as Ggit.Branch;
if (br == null) {
continue;
- }
+ }
+ if (br.is_tag()) {
+ continue;
+ }
//var head = this.repo.revparse("refs/heads/" + br.get_name() ).get_id();
//var rhead = this.repo.revparse(br.get_upstream().get_name() ).get_id();
//var head = this.repo.revparse("refs/heads/" + br.get_name() ).get_id();
//var rhead = this.repo.revparse(br.get_upstream().get_name() ).get_id();
@@
-328,7
+334,7
@@
namespace GitLive {
}
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()
.substring(11)
,
+ br.get_name(),
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"
@@
-337,7
+343,7
@@
namespace GitLive {
Idle.add((owned) callback);
return true;;
};
Idle.add((owned) callback);
return true;;
};
- new Thread<bool>("
thread-example"
, run);
+ new Thread<bool>("
loadRemoteHeads-"
, run);
yield;
yield;