Repository navigation
feat(windows/git): 实现[W2] Git 安全工作流与冲突恢复 - #50
Merged
Merged
Conversation
为 Git 写操作引入可嵌套的 watcher 冻结/刷新生命周期,以及基于 workspace epoch 与 operation generation 的陈旧结果丢弃机制。 - 新增 preflight 检查与 pending operation,覆盖 checkout/pull/merge/rebase - 补齐 Fetch/Push、Commit and Push、Merge/Rebase、Continue/Abort/Skip - 完善 stash/Shelf 分离与冲突恢复,失败时保留 stash 与 Shelf 引用 - 新增 Changes/Log/Diff Qt 面板、预检对话框、冲突 UI 与进行中操作栏 - 补充 feature model、watcher freeze 与仓库级单元测试 Parent: #28 Co-authored-by: Cursor <cursoragent@cursor.com>
同步 IDEA 图标与主题、完善预检对话框与 Shelf 入口,Diff 补齐语法/词级高亮,并修正活动栏与变更列表点击交互。 Co-authored-by: Cursor <cursoragent@cursor.com>
保留 #28 Git 安全工作流 UI/feature model;合入 W0 基线、shelfPatches、终端与 shell 模块源码;workbench 窗口继续使用 Changes/Log/Diff 面板实现。 Co-authored-by: Cursor <cursoragent@cursor.com>
去掉 coordinator/feature 中重复的 preflight API 与 operationState 字段,恢复可编译状态并保留 #28 工作流语义。 Co-authored-by: Cursor <cursoragent@cursor.com>
恢复 stash 冲突路径同步与边界检查通过;工作区切换重置 watcher freeze,preflight Open Diff 不再反复弹窗,dirty 文档端口按路径 upsert。 Co-authored-by: Cursor <cursoragent@cursor.com>
CI 需安装 qtsvg 以匹配 Qt Svg 依赖;Git 子进程加 CREATE_NO_WINDOW,避免 GUI 启动刷 cmd。 Co-authored-by: Cursor <cursoragent@cursor.com>
合并终端会话与 libvterm 上游改动,保留 Git 安全工作流面板与 stash/冲突修复;统一 git_command 隐藏控制台,CMake 同时包含 shelve 与 terminal 服务。 Co-authored-by: Cursor <cursoragent@cursor.com>
1lck
approved these changes
Aug 11, 2026
This was referenced Nov 15, 2026
xiaoyumuxi
added a commit
that referenced
this pull request
Nov 20, 2026
* chore(viva): 同步上游 33de151 并合入 fork #50,固定 Lithe-viva main 86ce261 * fix(core): 固定版本换成 Lithe-core-rust main 的 83a9f92(#135 squash 合入后的提交) * fix(core): 固定版本换成 Lithe-core-rust main 的 43e3f27(含 #136 远程连接日志 v2) * release: 准备 desktop-v0.8.12 * chore(viva): 补同步上游 faaa437,固定 Lithe-viva main 909613b;发布说明列出插件需要的新宿主能力 * docs(release): 0.8.12 发布说明按模板每条一行
10 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
lithe_windows_git_feature_workflow_tests:preflight 阻塞/放行、pending、非零退出码、陈旧结果lithe_windows_git_workflow_unit_tests:嵌套 freeze、失败路径、一次性 flush;Shelf 隔离与失败保留lithe_windows_git_workflow_repo_tests:真实仓库 merge/rebase conflict → continue/abort;stashRestore;Skip 能力verify-windows-boundaries(W0)通过Screenshots