libgit2 / libgit2/libgit2sharp
There is no way to make Diff Patch contain any binary deltas
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
Reproduction steps
use Diff.Compare to create a patch that contains BinaryComparisons
save this patch to a file patch.file
call git apply with the created patch.file
Expected behavior
there should be a user settable CompareOption that gives access to the GIT_DIFF_SHOW_BINARY flag in Core.GitDiff.GitDiffOptionFlags so that a patch can be created with binary deltas so that binaries are created/updated in the repo after calling git apply patch.file
Actual behavior
there is no option to set this flag so binaries are not created and or not updated by the patch file
Version of LibGit2Sharp (release number or SHA1)
0.27.0-preview-0175
Operating system(s) tested; .NET runtime tested
windows 10
macOS
ubuntu 20.04
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza siguiendo Diff.Compare y CompareOption hasta Core.GitDiff.GitDiffOptionFlags, centrándote en cómo se exponen los flags existentes. Confirma el cambio creando un patch con BinaryComparisons y aplicándolo con git apply; se considera terminado cuando el patch incluye deltas binarios y crea o actualiza los binarios.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, git
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100