Indefero

Indefero Commit Details


Date:2008-12-23 15:43:09 (15 years 11 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:e6b19a695bf65d92fcabc28933fde68dbe170738
Parents: 0a02916e812c8c76f12f330f01db3676c40fe3c8
Message:Fixed issue 94, commands have changed in git 1.6.

Changes:

File differences

src/IDF/Scm/Git.php
171171
172172
173173
174
174
175175
176176
177177
......
198198
199199
200200
201
201
202202
203203
204204
......
224224
225225
226226
227
227
228228
229229
230230
if ('tree' != $this->testHash($tree)) {
throw new Exception(sprintf(__('Not a valid tree: %s.'), $tree));
}
$cmd_tmpl = 'GIT_DIR=%s git-ls-tree%s -t -l %s';
$cmd_tmpl = 'GIT_DIR=%s git ls-tree%s -t -l %s';
$cmd = sprintf($cmd_tmpl,
escapeshellarg($this->repo),
($recurse) ? ' -r' : '',
*/
public function getFileInfo($totest, $commit='HEAD')
{
$cmd_tmpl = 'GIT_DIR=%s git-ls-tree -r -t -l %s';
$cmd_tmpl = 'GIT_DIR=%s git ls-tree -r -t -l %s';
$cmd = sprintf($cmd_tmpl,
escapeshellarg($this->repo),
escapeshellarg($commit));
*/
public function getBlob($request_file_info, $dummy=null)
{
return shell_exec(sprintf('GIT_DIR=%s git-cat-file blob %s',
return shell_exec(sprintf('GIT_DIR=%s git cat-file blob %s',
escapeshellarg($this->repo),
escapeshellarg($request_file_info->hash)));
}

Archive Download the corresponding diff file

Page rendered in 0.07908s using 14 queries.