Placeholder text
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user