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 -1
View File
@@ -86,7 +86,7 @@ func (s *Server) snapshotChanges(w http.ResponseWriter, r *http.Request, t api.T
func (s *Server) stepBase(r *http.Request, t api.Task, snap api.Snapshot) (string, error) {
if snap.N == 1 {
return git.Parent(t.WorktreePath, snap.CommitSha)
return "", nil
}
prev, err := s.store.GetSnapshot(r.Context(), t.Id, snap.N-1)
if err != nil {