Indefero

Indefero Commit Details


Date:2009-01-20 09:33:36 (15 years 11 months ago)
Author:Loic d'Anterroches
Branch:dev, 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:8cfc5ec026eac94ca24ea2af5366de3fe5f4fec2
Parents: e1591854652d072b01205fdee3759e8482128374
Message:Fixed the download of a commit diff file.

Note, we need to stream this commit diff like for the archive for
performance reasons.
Changes:

File differences

src/IDF/Views/Source.php
259259
260260
261261
262
262
263263
264264
265265
$branches[0]));
return new Pluf_HTTP_Response_Redirect($url);
}
$cobject = $scm->getCommit($commit);
$cobject = $scm->getCommit($commit, true);
$rep = new Pluf_HTTP_Response($cobject->changes, 'text/plain');
$rep->headers['Content-Disposition'] = 'attachment; filename="'.$commit.'.diff"';
return $rep;

Archive Download the corresponding diff file

Page rendered in 0.07930s using 13 queries.