Permalink
Browse files

Fixing problem parsing paths with spaces, fixes #281

  • Loading branch information...
1 parent 02eb7cb commit 99ad7b568c1d0021b5d12e9042697a9e692296db @klaussilveira committed Mar 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/GitList/Git/Repository.php
@@ -349,7 +349,7 @@ public function createArchive($tree, $output, $format = 'zip')
*/
public function pathExists($commitish, $path)
{
- $output = $this->getClient()->run($this, "ls-tree $commitish $path");
+ $output = $this->getClient()->run($this, "ls-tree $commitish '$path'");
if (strlen($output) > 0) {
return true;

0 comments on commit 99ad7b5

Please sign in to comment.