projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bb8d38
)
Git.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 28 Feb 2019 09:17:15 +0000
(17:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 28 Feb 2019 09:17:15 +0000
(17:17 +0800)
Git.vala
patch
|
blob
|
history
diff --git
a/Git.vala
b/Git.vala
index
a9cf2f7
..
912ff86
100644
(file)
--- a/
Git.vala
+++ b/
Git.vala
@@
-8,10
+8,12
@@
namespace Git {
public class Repo : Object {
Ggit.Repository repo;
+ Callbacks callbacks;
public Repo(string path)
{
this.repo = Ggit.Repository.open(GLib.File.new_for_path(path));
+ this.callbacks = new Callbacks(this);
}
public void test()
@@
-20,6
+22,7
@@
namespace Git {
foreach(var n in ar) {
GLib.debug("got remote %s", n);
var r = this.repo.lookup_remote(n);
+ r.connect(Ggit.Direction.FETCH,
}
}