Indefero

Indefero Commit Details


Date:2011-06-01 17:22:00 (13 years 6 months ago)
Author:Thomas Keller
Branch:develop, feature.content-md5, feature.diff-whitespace, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.2, release-1.3
Commit:80313c88c86d1b9a83b4734ddb58959a88879854
Parents: cab1c09ffc1060aca8459c018681b23b802f9ee8
Message:Properly reverse-sort git's tag list again; the rsort on the original output of the command looked bogus: since each tag ref is prefixed by an iso date and since commit 94da55d1 by hash, the whole string was of course sorted by this date and later hash, but not the tag name. This should now make more sense.

Changes:

File differences

src/IDF/Scm/Git.php
218218
219219
220220
221
222221
223222
224223
225224
226225
227226
227
228228
229
229
230230
231231
232232
$cmd, $return,
implode("\n", $out)));
}
rsort($out);
$res = array();
foreach ($out as $b) {
$elts = explode(' ', $b, 2);
$tag = substr(trim($elts[1]), 10); // Remove refs/tags/ prefix
$res[$tag] = '';
}
krsort($res);
$this->cache['tags'] = $res;
return $res;
}

Archive Download the corresponding diff file

Page rendered in 0.10184s using 13 queries.