{
// convert arguments.
-
string[] args = { "git" };
//args += "--git-dir";
//args += this.gitdir;
args += "--no-pager";
-
+
//if (this.gitdir != this.repopath) {
// args += "--work-tree";
// args += this.repopath;
// may throw error...
var sp = new Spawn(cfg);
+
stdout.printf( "GOT: %s\n" , sp.output);
// parse output for some commands ?