stagit

dont use reverse diff

Hiltjo Posthuma contact@arjunchoudhary.com

commit: a2d1a95 parent: a9eaef7
1 files changed, 2 insertions(+), 2 deletions(-)
Murmoms.c+2-2
M · urmoms.c +2, -2
 1@@ -231,7 +231,7 @@ printshowfile(git_commit *commit)
 2 		goto err;
 3 	if ((error = git_commit_tree(&parent_tree, parent)))
 4 		goto err;
 5-	if ((error = git_diff_tree_to_tree(&diff, repo, commit_tree, parent_tree, NULL)))
 6+	if ((error = git_diff_tree_to_tree(&diff, repo, parent_tree, commit_tree, NULL)))
 7 		goto err;
 8 
 9 	/* diff stat */
10@@ -346,7 +346,7 @@ writelog(FILE *fp)
11 			continue; /* TODO: handle error */
12 		if ((error = git_commit_tree(&parent_tree, parent)))
13 			continue; /* TODO: handle error */
14-		if ((error = git_diff_tree_to_tree(&diff, repo, commit_tree, parent_tree, NULL)))
15+		if ((error = git_diff_tree_to_tree(&diff, repo, parent_tree, commit_tree, NULL)))
16 			continue; /* TODO: handle error */
17 		if (git_diff_get_stats(&stats, diff))
18 			continue; /* TODO: handle error */