libgit2 / libgit2/libgit2sharp

LibGit2Sharp.Tests case where it pulls recent remote change and then checks it out?

Abierto
#1,672 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
C#
Estrellas
3.5k
Forks
925
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza en LibGit2Sharp.Tests localizando la cobertura de Commands.Pull y Commands.Checkout. Reproduce la secuencia con un objeto recién confirmado desde el sitio web de GitHub y, a continuación, verifica si la rama obtenida mediante checkout expone ese objeto; se considera terminado cuando el comportamiento se entiende y está cubierto por una prueba fiable.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp, git
Área
devtools
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.