From cdebac0b131a8e52ea3d3327d7731d511fc581c6 Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Sat, 15 Jan 2011 01:02:22 +0100 Subject: [PATCH] The commit object's diff member changed from "changes" to "diff" so the "dowload the corresponding diff file" link was broken. --- src/IDF/Views/Source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Views/Source.php b/src/IDF/Views/Source.php index a0748da..472d710 100644 --- a/src/IDF/Views/Source.php +++ b/src/IDF/Views/Source.php @@ -342,7 +342,7 @@ class IDF_Views_Source if (!$cobject) { 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"'; return $rep; }