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