From: Christian Weiske Date: Fri, 13 Apr 2012 11:35:07 +0000 (+0200) Subject: fix git dir creation X-Git-Tag: v0.1.0~44 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/fe8ea32b7cc8ef44e53e5edf9ea954e516ec6d98 fix git dir creation --- diff --git a/src/phorkie/Repository/Post.php b/src/phorkie/Repository/Post.php index f138491..a982c7f 100644 --- a/src/phorkie/Repository/Post.php +++ b/src/phorkie/Repository/Post.php @@ -118,7 +118,7 @@ class Repository_Post //this should be setOption, but it fails with a = between name and value ->addArgument('--separate-git-dir') ->addArgument($GLOBALS['phorkie']['cfg']['gitdir'] . '/' . $repo->id . '.git') - ->addArgument($repo->workDir); + ->addArgument($repo->workDir) ->execute(); foreach (glob($repo->gitDir . '/hooks/*') as $hookfile) {