Use new semantics for adding an stdin stream to PassThru

This commit is contained in:
Patrick Georgi 2011-08-21 08:39:41 +02:00
parent 5043c4e845
commit be95050a4b

View File

@ -986,7 +986,7 @@ class IDF_Scm_Git extends IDF_Scm
$response = new Pluf_HTTP_Response_CommandPassThru($path.
' --stateless-rpc '.$this->repo,
'application/x-'.$path.'-result');
$response->addStdin('php://input');
$response->setStdin(fopen('php://input', 'rb'));
return $response;
// regular file