tdont use reverse diff - stagit - static git page generator
 (HTM) git clone git://src.adamsgaard.dk/stagit
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 18e6c1beda47949082d0630fb3a697438b2e80d9
 (DIR) parent a73ca0483c5e1e9be3d083b6f15067a7717bf416
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Mon,  7 Dec 2015 20:00:33 +0100
       
       dont use reverse diff
       
       Diffstat:
         M urmoms.c                            |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/urmoms.c b/urmoms.c
       t@@ -231,7 +231,7 @@ printshowfile(git_commit *commit)
                        goto err;
                if ((error = git_commit_tree(&parent_tree, parent)))
                        goto err;
       -        if ((error = git_diff_tree_to_tree(&diff, repo, commit_tree, parent_tree, NULL)))
       +        if ((error = git_diff_tree_to_tree(&diff, repo, parent_tree, commit_tree, NULL)))
                        goto err;
        
                /* diff stat */
       t@@ -346,7 +346,7 @@ writelog(FILE *fp)
                                continue; /* TODO: handle error */
                        if ((error = git_commit_tree(&parent_tree, parent)))
                                continue; /* TODO: handle error */
       -                if ((error = git_diff_tree_to_tree(&diff, repo, commit_tree, parent_tree, NULL)))
       +                if ((error = git_diff_tree_to_tree(&diff, repo, parent_tree, commit_tree, NULL)))
                                continue; /* TODO: handle error */
                        if (git_diff_get_stats(&stats, diff))
                                continue; /* TODO: handle error */