@@ -150,13 +150,11 @@ func (s service) ListCommits(ctx context.Context, _ string, id uint64) ([]change } func (s service) GetDiff(ctx context.Context, _ string, id uint64, opt *changes.GetDiffOptions) ([]byte, error) { switch opt { case nil: diff, _, err := s.cl.Changes.GetPatch(fmt.Sprint(id), "current", &gerrit.PatchOptions{ Path: "src", // TODO. }) diff, _, err := s.cl.Changes.GetPatch(fmt.Sprint(id), "current", nil) if err != nil { return nil, err } return []byte(*diff), nil default: