Indefero

Indefero Commit Details


Date:2011-08-25 16:36:27 (13 years 3 months ago)
Author:Patrick Georgi
Branch:feature.webrepos
Commit:33b22f95ab2ac93e795da463ab64d74c1e5a60fc
Parents: 39f77886db253a3260a017a5b8de9db818c5f3c0
Message:Use idf_exec_prefix when git tools are called

Changes:

File differences

src/IDF/Scm/Git.php
987987
988988
989989
990
990991
991992
992993
......
10011002
10021003
10031004
1004
1005
1006
10051007
10061008
10071009
$content = sprintf('%04x',strlen($service)+15).
'# service='.$service."\n0000";
$content .= self::shell_exec('IDF_Scm_Git::repository',
Pluf::f('idf_exec_cmd_prefix', '').
$service.' --stateless-rpc --advertise-refs '.
$this->repo);
$response = new Pluf_HTTP_Response($content,
// smart HTTP RPC
case 'git-upload-pack':
case 'git-receive-pack':
$response = new Pluf_HTTP_Response_CommandPassThru($path.
$response = new Pluf_HTTP_Response_CommandPassThru(
Pluf::f('idf_exec_cmd_prefix', '').$path.
' --stateless-rpc '.$this->repo,
'application/x-'.$path.'-result');
$response->setStdin(fopen('php://input', 'rb'));

Archive Download the corresponding diff file

Page rendered in 0.07792s using 13 queries.