Skip to content

Commit 9bbc1e8

Browse files
committed
Handle cleared guardian history
1 parent 9dbebaa commit 9bbc1e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codex-rs/core/src/guardian/review_session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ impl GuardianReviewSessionManager {
414414
let snapshot = state.last_committed_fork_snapshot.as_ref()?;
415415
match &snapshot.initial_history {
416416
InitialHistory::Forked(items) => Some(items.clone()),
417-
InitialHistory::New | InitialHistory::Resumed(_) => None,
417+
InitialHistory::New | InitialHistory::Cleared | InitialHistory::Resumed(_) => None,
418418
}
419419
}
420420

0 commit comments

Comments
 (0)