InDefero

Sign in or create your account | Project List | Help

InDefero Commit Details

Date:2009-06-24 19:33:16 (1 year 2 months ago)
Author:Loïc d'Anterroches
Commit:fcefbe719fba52a19dad76e772a6138efc43ed8c
Message:Fixed to better detect a bad commit.

Files: src/IDF/Scm/Git.php (2 diffs)

Change Details

src/IDF/Scm/Git.php
134134    {
135135        $folder = ($folder == '/') ? '' : $folder;
136136        // now we grab the info about this commit including its tree.
137        $co = $this->getCommit($commit);
137        if (false == ($co = $this->getCommit($commit))) {
138            return false;
139        }
138140        if ($folder) {
139141            // As we are limiting to a given folder, we need to find
140142            // the tree corresponding to this folder.
...... 
321323        }
322324        $out = array();
323325        exec($cmd, $out, $ret);
324        if ($ret != 0) {
326        if ($ret != 0 or count($out) == 0) {
325327            return false;
326328        }
327329        $log = array();

Archive Download the corresponding diff file

Branches:
dev
develop
master
newdiff
svn

Tags:
v1.0