Skip to content

Keep showing files whose conflicts have been resolved - #5940

Merged
stefanhaller merged 3 commits into
masterfrom
keep-showing-resolved-conflicting-files
Aug 16, 2026
Merged

Keep showing files whose conflicts have been resolved#5940
stefanhaller merged 3 commits into
masterfrom
keep-showing-resolved-conflicting-files

Conversation

@stefanhaller

Copy link
Copy Markdown
Collaborator

When several files have conflicts, resolving one of them makes it vanish from the files panel as soon as it is auto-staged, and it only comes back once the last conflict is resolved and the filter turns off again. By then it sits among all the other changed files of the merge, so it is hard to find the ones whose resulting diff you still wanted to check.

So remember which files had conflicts while the conflicted-files filter is on, and keep showing them once they are resolved. This is the general solution that #5936 called for; that PR only helped for the case of a single conflicted file.

The consequence is that the selection no longer moves on to the next conflicted file when one is resolved: it stays on the file you just resolved, which shows you its diff right away.

@stefanhaller stefanhaller added the enhancement New feature or request label Aug 16, 2026
@stefanhaller
stefanhaller force-pushed the keep-showing-resolved-conflicting-files branch from 6528ef2 to f4815d6 Compare August 16, 2026 08:39
stefanhaller and others added 3 commits August 16, 2026 16:45
…ing them

The next commit needs to know which files have conflicts, not just how
many of them there are.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
When several files have conflicts, resolving one of them makes it vanish
from the files panel as soon as it is auto-staged, and it only comes back
once the last conflict is resolved and the filter turns off again. By
then it sits among all the other changed files of the merge, so it is
hard to find the ones whose resulting diff you still wanted to check.

So remember which files had conflicts while the conflicted-files filter
is on, and keep showing them once they are resolved. This is the general
solution that 39513d2 called for; that commit only helped for the
case of a single conflicted file.

The consequence is that the selection no longer moves on to the next
conflicted file when one is resolved: it stays on the file you just
resolved, which shows you its diff right away.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@stefanhaller
stefanhaller force-pushed the keep-showing-resolved-conflicting-files branch from f4815d6 to 43b47d1 Compare August 16, 2026 14:45
@stefanhaller
stefanhaller merged commit c199ac6 into master Aug 16, 2026
14 checks passed
@stefanhaller
stefanhaller deleted the keep-showing-resolved-conflicting-files branch August 16, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant