AGWA / AGWA/git-crypt

Make `git add --patch` work on encrypted files?

Open
#167 2 comments 25 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.9k
Forks
544
PR merge metrics
No merged PRs in 30d

Description

I have a large encrypted file which, when changed, is easier to review and commit using `git add -p`.

However, when I run a `git add --patch` on such a file, I get a `Only binary files changed.` message from git. I can see from the Git docs that the `textconv` option might not be used here.

Would it be possible to add support for this in `git-crypt` ?

Failing which, is there a workaround that I can do in my `.gitconfig` that can resolve this issue?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.