[pass] Idiomatic way to view previous password version ?

Kevin Lyda kevin at ie.suberic.net
Tue Jun 16 16:04:10 CEST 2015


On Tue, Jun 16, 2015 at 10:41 AM, Jean-Baptiste Denis <jbd at jbdenis.net> wrote:
>> You can make this command work with some git magic :
>>
>>   echo '*.gpg diff=gpg' >> ~/.password-store/.git/info/attributes
>>   echo '[diff "gpg"]\n  textconv = gpg -d -q --batch --no-tty' >>
>> ~/.password-store/.git/config
>
> I just had to add the -e option to my echo (enable interpretation of backslash
> escapes, which is disable by default).

This might make it easier:

pass git config --add diff.gpg.textconv "gpg -d -q --batch --no-tty"

Kevin

-- 
Kevin Lyda
Galway, Ireland


More information about the Password-Store mailing list