projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b8671
)
GitRepo.vala
author
Alan Knowles
<alan@akbkhome.com>
Sat, 10 May 2014 13:45:49 +0000
(21:45 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 10 May 2014 13:45:49 +0000
(21:45 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
7507d59
..
f062ea3
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-138,7
+138,7
@@
public class GitRepo : Object
}
*/
-
var
args = { "commit", "-m", };
+
string[]
args = { "commit", "-m", };
arg += (message.length > 0 ? message : "Changed" );
for (var i = 0; i< files.length ; i++ ) {
args += files.index(i).vname; // full path?
@@
-158,7
+158,9
@@
public class GitRepo : Object
public string pull ()
{
// should probably hand error conditions better...
- return this.git({ "pull" });
+ string[] cmd = { "pull" };
+ return this.git( cmd );
+
}