git-crypt icon indicating copy to clipboard operation
git-crypt copied to clipboard

How to mute/squelch "git-crypt: Warning: file not encrypted" in `git log` ?

Open ghost opened this issue 9 years ago • 0 comments

How to mute/squelch "git-crypt: Warning: file not encrypted" in git log, without rewriting repo history. I just want to use git log without being drowned in warning messages.

specifically running git log -S <anything> dumps the message

git-crypt: Run 'git-crypt status' to make sure all files are properly encrypted.
git-crypt: If 'git-crypt status' reports no problems, then an older version of
git-crypt: this file may be unencrypted in the repository's history.  If this
git-crypt: file contains sensitive information, you can use 'git filter-branch'
git-crypt: to remove its old versions from the history.

thousands of times.

Edit: I anticipate this is related to the "historic regular file with same path as encrypted file" based issue I just reported in detail as #105

ghost avatar Jan 05 '17 17:01 ghost