AGWA / AGWA/git-crypt

git-crypt breaks git partial staging

Abierto
#178 1 comentario 10 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
9.9k
Forks
544
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The problems can be reproduced like this:
- from command line: 'git add -p' -> Only binary files changed.
- from git gui: right-click -> 'stage lines for commit' is greyed out

The problem seems to be that if a file is encrypted, it is seen as binary, and patch staging only works for text files so git can only stage the full file.
Maybe this is intrinsic to how git-crypt works, but maybe there are workarounds, maybe something can be done changing settings in .gitattributes?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.