Commit a9ecf15

Eric Bower  ·  2023-08-14 11:16:25 -0400 EDT
parent 2ec28b6
fix: invert diffs
1 files changed,  +2, -2
+2, -2
......@@ -448,11 +448,11 @@ func (c *Config) writeLogDiffs(repo *git.Repository, pageData *PageData, logs []
448448 parentID := parent.ID.String()
449449
450450 diff, err := repo.Diff(
451- parentID,
451+ commitID,
452452 0,
453453 0,
454454 0,
455- git.DiffOptions{Base: commitID},
455+ git.DiffOptions{Base: parentID},
456456 )
457457
458458 rnd := &DiffRender{