@@ -270,11 +270,15 @@ func (s service) GetDiff(_ context.Context, repo string, id uint64, opt *change. var c *maintner.GitCommit switch opt { case nil: c = cl.Commit default: c = project.GitCommit(opt.Commit) var err error c, err = project.GitCommit(opt.Commit) if err != nil { return nil, err } } var fds []*diff.FileDiff for _, f := range c.Files { fds = append(fds, &diff.FileDiff{ OrigName: f.File,