libgit2 / libgit2/libgit2sharp

Unable to push current branch to remote after revert the commit

Aperta
#1,830 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
C#
Stelle
3.5k
Fork
925
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
  1. Revert a single commit (the revert status must be reverted)
  2. Create a new commit for reverting changes
  3. Push commit to remote
  4. 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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci la sequenza di revert e push descritta con LibGit2Sharp v0.26 su .NET Framework 4.6.1, quindi traccia la gestione di push e revert coinvolta nel malfunzionamento. L'attività è completata quando le modifiche ripristinate vengono ripulite, lo stato di Git viene ripristinato e il nuovo commit può essere inviato senza l'errore di unpacking del remoto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp, git
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.