projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8bc028
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Mar 2019 10:27:19 +0000
(18:27 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Mar 2019 10:27:19 +0000
(18:27 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
3c25835
..
b22571c
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-959,7
+959,14
@@
public class GitRepo : Object
public void doUpdate()
{
// update the branches..
-
+ this.loadBranches();
+ var r = this.repo.lookup_remote("origin");
+ //GLib.debug("connecting '%s'", r.get_url());
+
+ try {
+ string[] h = { "a = 1" };
+ r.connect(Ggit.Direction.FETCH, this.callbacks, null, null);
+ r.connect(Ggit.Direction.FETCH, new GitCallbacks, null, null);
}