From cda6e899b507a8b35762ad87511a020db4c3a53d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sat, 10 May 2014 21:37:52 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/GitRepo.vala b/GitRepo.vala index acf50ecc..d6a70b4e 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -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) { -- 2.39.2