jesseduffield.lazygit/pkg/integration/tests/conflicts
Stefan Haller 90d8ef499c Auto-dismiss the continue-rebase prompt when it becomes stale
The prompt offering to continue a rebase/merge is opened from a refresh
and then left to sit until the user acts on it. But the operation can
change out from under it: a coding agent (or the user in another
terminal) might continue or abort it, or advance it to a commit with new
conflicts. The prompt then becomes stale — pressing continue fails with
"no rebase in progress" or acts on the wrong state.

Track whether the prompt is showing, and on each refresh dismiss it if
the operation is no longer in the "resolved, ready to continue" state
that the prompt is offering to act on. This runs on the same refreshes
that would open it (including the background poll and the refresh on
window focus), so the prompt disappears on its own shortly after the
operation moves on.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 18:30:02 +02:00
..
continue_prompt_dismissed_when_resolved_externally.go Auto-dismiss the continue-rebase prompt when it becomes stale 2026-07-03 18:30:02 +02:00
filter.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
merge_file_both.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
merge_file_current.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
merge_file_incoming.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
pick_both_hunks_diff3.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
resolve_externally.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
resolve_externally_started_merge_no_prompt.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
resolve_multiple_files.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
resolve_no_auto_stage.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
resolve_non_textual_conflicts.go Provide conflict resolution dialogs for non-textual conflicts 2025-04-09 10:27:57 +02:00
resolve_without_trailing_lf.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
space_on_non_textual_conflict.go Route space to the conflict picker for non-textual conflicts 2026-06-28 16:12:36 +02:00
undo_choose_hunk.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00