libgit2 / libgit2/libgit2sharp
LibGit2Sharp.Tests case where it pulls recent remote change and then checks it out?
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 3.5k
- 派生
- 925
- PR 合并指标
- 30 天内没有已合并 PR
描述
I am having issues with getting REALLY RECENT new object commits when I do a pull/checkout of a branch. I looked through the Tests and didn’t see anywhere that was obviously doing this sort of test. Is there one?
Reproduction steps
Commit a brand new object using GitHub website.
Do a Commands.Pull/Commands.Checkout of the branch containing the object
Expected behavior
See new object
Actual behavior
Object is missing. Of note, I found that for some reason, if I get EVERY branch in the repo and then checkout the branch I actually need, I’ll end up with the new object most of the time (but not every time).
Version of LibGit2Sharp (release number or SHA1)
0.25.2
Operating system(s) tested; .NET runtime tested
Windows 7, Windows 10, .NET 4.7.1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 LibGit2Sharp.Tests 开始,找到 Commands.Pull 和 Commands.Checkout 的覆盖情况。使用刚刚通过 GitHub 网站提交的对象重现该序列,然后验证 checkout 后的分支是否能显示该对象;当行为得到理解并由可靠的测试覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, git
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100