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

'status' subcommand should not include ".git-crypt/" directory

Open smemsh opened this issue 10 years ago • 1 comments

for example, git-crypt status says something like this:

...
    encrypted: my.secret
not encrypted: .git-crypt/.gitattributes
not encrypted: .git-crypt/keys/default/0/DEADBEAF.gpg

but we already know that... really, the git-crypt metadata dir should not be displayed by status (it's essentially metadata, and should be considered as "out of band" information).

smemsh avatar Oct 15 '15 19:10 smemsh

I think this may be generalized. For instance if you have a bare repository with $HOME as the top-level, status will output the not encrypted line for almost everything in the home directory.

mbwgh avatar Jan 25 '21 13:01 mbwgh