Commit Briefs
for completeness, percent-decode the secret if needed
it shouldn't EVER be needed, but since we handle URIs we should tick this box too.
release 0.4 (tags/0.4)
avoid issuing unnecessary `got add'
plass always did a `got add $file' before committing changes. However, this leads to a possibly misleading "file has unexpected status" error being printed to stderr. Instead, `got add $file' only when the file is new.
refactor cmd_edit
Now it always deletes the temporary file.
refactor cmd_tee: simplify the code
inline (with tweaks) writepass, it's redundant to have. While here also read/write blockwise instead that of linewise.
remove handling of PLASS_GOT environment variable
There's no real reason to have this variable, there's only one `got' usually and people are better off putting it somewhere in $PATH. Retain PLASS_GPG as there seem to be a little issue with gpg vs gpg2 so the knob may be useful in practice.