Indefero

Indefero Commit Details


Date:2009-10-26 15:45:42 (15 years 1 month ago)
Author:Loic d'Anterroches
Branch: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:37aa3d8b69bfecb6ed3f6953bf3ba5a1c840f8d2
Parents: 9437a19ee07a6495ff185b408d67f2abb85a60af
Message:Fixed not to stat the size of a non existing repository.

Changes:

File differences

src/IDF/Scm/Git.php
4343
4444
4545
46
47
48
4649
4750
4851
public function getRepositorySize()
{
if (!file_exists($this->repo)) {
return 0;
}
$cmd = Pluf::f('idf_exec_cmd_prefix', '').'du -skD '
.escapeshellarg($this->repo);
$out = explode(' ', shell_exec($cmd), 2);

Archive Download the corresponding diff file

Page rendered in 0.07085s using 13 queries.