The commit object's diff member changed from "changes" to "diff"
so the "dowload the corresponding diff file" link was broken.
This commit is contained in:
parent
a7b62a30ff
commit
cdebac0b13
@ -342,7 +342,7 @@ class IDF_Views_Source
|
|||||||
if (!$cobject) {
|
if (!$cobject) {
|
||||||
throw new Exception('could not retrieve commit object for '. $commit);
|
throw new Exception('could not retrieve commit object for '. $commit);
|
||||||
}
|
}
|
||||||
$rep = new Pluf_HTTP_Response($cobject->changes, 'text/plain');
|
$rep = new Pluf_HTTP_Response($cobject->diff, 'text/plain');
|
||||||
$rep->headers['Content-Disposition'] = 'attachment; filename="'.$commit.'.diff"';
|
$rep->headers['Content-Disposition'] = 'attachment; filename="'.$commit.'.diff"';
|
||||||
return $rep;
|
return $rep;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user