projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5775b
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 25 Sep 2017 03:21:19 +0000
(11:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 25 Sep 2017 03:21:19 +0000
(11:21 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
c570d77
..
1e02be0
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-386,14
+386,13
@@
public class GitRepo : Object
var cfg = new SpawnConfig(this.git_working_dir , args , env);
cfg.async = true;
- cfg.onFinish((err) {
- this.
- });
+
// may throw error...
var sp = new Spawn(cfg);
-
-
+ cfg.onFinish((err) {
+ cb(sp.output);
+ });
stdout.printf( "GOT: %s\n" , sp.output);
// parse output for some commands ?
return sp.output;