Adds conflict resolution actions to rebase editor conflict list#5153
Conversation
🤖 Augment PR SummarySummary: This PR enhances the Rebase Editor’s conflict panel by adding per-file and bulk conflict-resolution actions. Changes:
Technical Notes: Bulk resolution classifies each conflicted file into checkout/delete operations, stages successful results, and logs/report failures; staging warns if conflict markers are still present. 🤖 Was this summary useful? React with 👍 or 👎 |
6426419 to
deaa869
Compare
1797217 to
6f34fb7
Compare
🟢 Conflict resolved with 100% confidenceComment Resolution details🟢
|
6f34fb7 to
f2c7e73
Compare
f2c7e73 to
2791549
Compare
d52b878 to
12b5d8e
Compare
eamodio
left a comment
There was a problem hiding this comment.
@ianhattendorf this is ready to go once the conflicts are resolved right?
Yes, I'll rebase and merge today. |
d6393dc to
55b14b5
Compare
|
@d13 FYI: de6d261 if you want to double check this (see: https://github.com/gitkraken/vscode-gitlens/actions/runs/25352599134/job/74335251799) |
- Adds per-file Open Current/Incoming Changes and Stage actions, plus right-click Stage Current/Incoming Changes context-menu actions (gated per conflict status so invalid sides are hidden) - Adds panel-header Stage All Current / Stage All Incoming bulk actions with a modal confirmation - Warns before staging a file that still contains conflict markers - Fixes misleading conflict status labels for `UA` / `AU` / `UD` / `DU` by explicitly decoding Git's unmerged two-char codes instead of mapping `U` to `Modified` on both sides Closes #5127
0ed820b to
de6d261
Compare
Summary
git checkout --ours|--theirs -- <path>as a newcheckoutConflictedPathoperation on the git provider, filters actions to those valid for each conflict status, and warns before staging a file that still contains conflict markersUA/AUnow read asAdded by Incoming/Added by Currentinstead of mixing in a bogusModifiedside, whileUD/DUkeep their correct modified/deleted wordingCloses #5127
Test plan
UU,UA,AU,UD,DU,AA,DD)UA/AU/UD/DU