libgit2 / libgit2/libgit2sharp
Unable to push current branch to remote after revert the commit
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 3.5k
- 分支
- 925
- PR 合併指標
- 30 天內沒有已合併 PR
描述
You are opening a bug report against the LibGit2Sharp project: we
use GitHub Issues for tracking bug reports and feature requests. If
you have a question about an API or usage, please ask on StackOverflow:
http://stackoverflow.com/questions/tagged/libgit2sharp.
Otherwise, to report a bug, please fill out the reproduction steps
(below) and delete these introductory paragraphs. Thanks!
Reproduction steps
- Revert a single commit (the revert status must be reverted)
- Create a new commit for reverting changes
- Push commit to remote
- When push remote, it will always throw error msg "unpacking the sent packfile failed on the remote"
Expected behavior
After creating a new commit, it must cleanup the reverting objs, and allow to push to server
Actual behavior
It will always throw error msg "unpacking the sent packfile failed on the remote"
And unable to restore git status to enable push to remote
Version of LibGit2Sharp (release number or SHA1)
v0.26
Operating system(s) tested; .NET runtime tested
.NET Framework 4.6.1
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
在 .NET Framework 4.6.1 上針對 LibGit2Sharp v0.26 重現所描述的 revert 和 push 序列,然後追蹤與該失敗相關的 push 和 revert 處理流程。完成的標準是:已 revert 的變更已清理、Git 狀態已還原,且可以在不出現遠端 unpacking 錯誤的情況下 push 新 commit。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, git
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100