projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync
[gitlive]
/
GitRepo.vala
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
14064cc
..
e962e5d
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-275,13
+275,12
@@
public class GitRepo : Object
{
// convert arguments.
{
// convert arguments.
-
string[] args = { "git" };
//args += "--git-dir";
//args += this.gitdir;
args += "--no-pager";
string[] args = { "git" };
//args += "--git-dir";
//args += this.gitdir;
args += "--no-pager";
-
+
//if (this.gitdir != this.repopath) {
// args += "--work-tree";
// args += this.repopath;
//if (this.gitdir != this.repopath) {
// args += "--work-tree";
// args += this.repopath;
@@
-310,6
+309,7
@@
public class GitRepo : Object
// may throw error...
var sp = new Spawn(cfg);
// may throw error...
var sp = new Spawn(cfg);
+
stdout.printf( "GOT: %s\n" , sp.output);
// parse output for some commands ?
stdout.printf( "GOT: %s\n" , sp.output);
// parse output for some commands ?