Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix meta.git download/preview. Fix #1275
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Nov 10, 2016
1 parent 5045410 commit bcaea85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/meta.git/src/GitManager.php
Expand Up @@ -136,7 +136,7 @@ public function applyActions(\Psr\Http\Message\ServerRequestInterface $requestIn
$command = $git->getCommand("cat-file");
$command->setOption("s", true);
$command->addArgument($commitId.":".$file);
$size = $command->execute();
$size = floatval(trim($command->execute()));

$command = $git->getCommand("show");
$command->addArgument($commitId.":".$file);
Expand Down

0 comments on commit bcaea85

Please sign in to comment.