AGWA / AGWA/git-crypt

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

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

Description

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 ` 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

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.