Placeholder text

This commit is contained in:
Ian Gulliver
2026-10-15 21:56:59 -07:00
parent 2ce10a6c65
commit 4540a63901
10 changed files with 14 additions and 24 deletions
+1 -6
View File
@@ -220,17 +220,12 @@ func (m *Manager) reviewPrompt(ctx context.Context, task api.Task, project api.P
return "", err
}
previous = prev.CommitSha
} else {
parent, err := git.Parent(project.RepoPath, snap.CommitSha)
if err != nil {
return "", err
}
previous = parent
}
changes, err := git.Compare(project.RepoPath, project.DefaultBranch, snap.CommitSha, snap.TreeSha, previous)
if err != nil {
return "", err
}
previous = changes.Base
if len(changes.Files) == 0 {
return "", nil
}