AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.21k stars 476 forks source link

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

Open ghost opened 7 years ago

ghost commented 7 years ago

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