srchub

srchub Commit Details


Date:2016-04-26 23:49:24 (8 years 7 months ago)
Author:Natalie Adams
Branch:master
Commit:fb4d886c18eb50ff60f85bd88961ab98365e2a3a
Parents: 490ce3dd080c4516550980946a62c8315172a965
Message:Issue 112 - small fix for files with spaces

Changes:

File differences

indefero/src/IDF/Scm/Git.php
786786
787787
788788
789
790
791
789
790
791
792792
793793
794794
$rawlog = implode("\n", array_reverse($rawlog));
foreach(explode("\n", $rawlog) as $line) {
if ($line[0] == ":") {
$matches = preg_split('/\s/', $line);
$currentFileHash = $matches[3];
$file = $matches[5];
preg_match('/\:([0-9]{6}) ([0-9]{6}) ([0-9a-z]{40}) ([0-9a-z]{40}) ([A-Z]{1})\s(.*)$/', $line, $matches);
$currentFileHash = $matches[4];
$file = $matches[6];
$fileinfoarr[] = [
"filehash" => $currentFileHash,
"file" => $file

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05672s using 20 queries.