libgit2 / libgit2/libgit2sharp
Request support for the git_submodule_branch() API
未关闭
还没有人认领这个 Issue。
Up for grabs
- 主要语言
- C#
- 星标
- 3.5k
- 派生
- 925
- PR 合并指标
- 30 天内没有已合并 PR
描述
Please support the git_submodule_branch() API, so that the branch attributes inside ".gitmodules" can be retrieved.
Information about the API:
https://libgit2.github.com/libgit2/#HEAD/group/submodule/git_submodule_branch
Thanks
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查现有的子模块 API 表面以及链接的 libgit2 文档中关于 git_submodule_branch() 的内容。确认 .gitmodules 中的分支属性应如何通过 C# API 暴露。调用方可以通过受支持的 git_submodule_branch() API 获取这些属性,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, git
- 领域
- api
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100