Skip to content

Commit e42e4f9

Browse files
committed
fix tests
1 parent 68d9e6b commit e42e4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/treelist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ type FileDiffFile struct {
7070

7171
// transformDiffTreeForUI transforms a DiffTree into a slice of FileDiffFile for UI rendering
7272
// it also takes a map of file names to their viewed state, which is used to mark files as viewed
73-
func transformDiffTreeForUI(ctx *context.Context, baseCommit *git.Commit, headCommit *git.Commit, diffTree *gitdiff.DiffTree, filesViewedState map[string]pull_model.ViewedState) []FileDiffFile {
73+
func transformDiffTreeForUI(ctx *context.Context, baseCommit, headCommit *git.Commit, diffTree *gitdiff.DiffTree, filesViewedState map[string]pull_model.ViewedState) []FileDiffFile {
7474
files := make([]FileDiffFile, 0, len(diffTree.Files))
7575

7676
for _, file := range diffTree.Files {

0 commit comments

Comments
 (0)