Skip to content

Commit

Permalink
Fixing problem parsing paths with spaces, fixes #281
Browse files Browse the repository at this point in the history
  • Loading branch information
klaussilveira committed Mar 29, 2013
1 parent 02eb7cb commit 99ad7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitList/Git/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 99ad7b5

Please sign in to comment.