Skip to content

[Policy] git_discovery 使用 git 命令而非 libgit2 #345

Description

@TrueNine

🐛 问题描述

sdk/src/policy/git_discovery.rs 调用外部 git 命令而非 libgit2 库,增加依赖且跨平台处理复杂。

📁 证据

git_discovery.rs

✅ 修复建议

考虑使用 git2 crate 替代 shell out。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglowLow priorityrustRust SDK/CLI/MCP code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions