AGWA / AGWA/git-crypt

git-crypt breaks git partial staging

未关闭
#178 1 条评论 10 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
9.9k
派生
544
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。