started diff parser
[phpgitweb.git] / htdocs / pages / commitdiff.class.php
index 5ef3fa05b4e7b95fe165428a87541d6806f22997..e8bb17f6999a3918434312ec41830b970950da0a 100644 (file)
@@ -16,8 +16,6 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>. 
  */
 
-require_once("pages/commit.class.php");
-
 class page_commitdiff {
     private $page, $phpgitweb;
        
@@ -84,7 +82,7 @@ class page_commitdiff {
                $difftree->push_difftree_data($diff_data['tree']);
                $this->page->set('difftree', $difftree->generate_difftree($project, $commit, true));
                
-               
+               $this->page->set('patchset', diff::generate_html($commit, $diff_data));
                
                return $this->page;
        }