Change Details
| src/IDF/Scm/Git.php |
| 134 | 134 | { |
| 135 | 135 | $folder = ($folder == '/') ? '' : $folder; |
| 136 | 136 | // 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 | } |
| 138 | 140 | if ($folder) { |
| 139 | 141 | // As we are limiting to a given folder, we need to find |
| 140 | 142 | // the tree corresponding to this folder. |
| ... | ... | |
| 321 | 323 | } |
| 322 | 324 | $out = array(); |
| 323 | 325 | exec($cmd, $out, $ret); |
| 324 | | if ($ret != 0) { |
| 326 | if ($ret != 0 or count($out) == 0) { |
| 325 | 327 | return false; |
| 326 | 328 | } |
| 327 | 329 | $log = array(); |
Download the corresponding diff file