AGWA / AGWA/git-crypt

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

Offen
#104 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
9.9k
Forks
544
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.