GitRepo.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 13:37:52 +0000 (21:37 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 13:37:52 +0000 (21:37 +0800)
GitRepo.vala

index acf50ec..d6a70b4 100644 (file)
@@ -186,11 +186,10 @@ public class GitRepo : Object
         // convert arguments.
         
 
-        string[]  args = {
-           "git", 
-            "--git-dir", this.gitdir,
-            "--no-pager",
-        }; 
+        string[]  args = { "git" };
+        args +=  "--git-dir";
+        args +=  this.gitdir,
+        args +=  "--no-pager";
 
 
         if (this.gitdir != this.repopath) {