Indefero

Indefero Commit Details


Date:2009-05-27 10:04:41 (15 years 6 months 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:a53c6a1778f9a2e4023c8719974e645c32676959
Parents: b75286375e777193901b2182e5981602969376d5
Message:Fixes the case of an empty repository again.

Changes:

File differences

src/IDF/Scm/Git.php
3838
3939
4040
41
41
4242
4343
4444
45
45
4646
4747
4848
public function isAvailable()
{
try {
$this->getBranches();
$branches = $this->getBranches();
} catch (IDF_Scm_Exception $e) {
return false;
}
return true;
return (count($branches) > 0);
}
public function getBranches()

Archive Download the corresponding diff file

Page rendered in 0.08099s using 13 queries.