Use new semantics for adding an stdin stream to PassThru
This commit is contained in:
parent
5043c4e845
commit
be95050a4b
@ -986,7 +986,7 @@ class IDF_Scm_Git extends IDF_Scm
|
|||||||
$response = new Pluf_HTTP_Response_CommandPassThru($path.
|
$response = new Pluf_HTTP_Response_CommandPassThru($path.
|
||||||
' --stateless-rpc '.$this->repo,
|
' --stateless-rpc '.$this->repo,
|
||||||
'application/x-'.$path.'-result');
|
'application/x-'.$path.'-result');
|
||||||
$response->addStdin('php://input');
|
$response->setStdin(fopen('php://input', 'rb'));
|
||||||
return $response;
|
return $response;
|
||||||
|
|
||||||
// regular file
|
// regular file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user