AGWA / AGWA/git-crypt

git-crypt breaks git partial staging

Aperta
#178 1 commento 10 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
9.9k
Fork
544
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.