Commit a9ecf15

Eric Bower  ·  2023-08-14 11:16:25 -0400 EDT
parent 2ec28b6
fix: invert diffs
1 files changed,  +2, -2
+2, -2
 1@@ -448,11 +448,11 @@ func (c *Config) writeLogDiffs(repo *git.Repository, pageData *PageData, logs []
 2 		parentID := parent.ID.String()
 3 
 4 		diff, err := repo.Diff(
 5-			parentID,
 6+			commitID,
 7 			0,
 8 			0,
 9 			0,
10-			git.DiffOptions{Base: commitID},
11+			git.DiffOptions{Base: parentID},
12 		)
13 
14 		rnd := &DiffRender{