libgit2 / libgit2/libgit2sharp
Unable to push current branch to remote after revert the commit
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the revert and push sequence described against LibGit2Sharp v0.26 on .NET Framework 4.6.1, then trace the push and revert handling involved in the failure. Done means the reverted changes are cleaned up, Git status is restored, and the new commit can be pushed without the remote unpacking error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100