8394f2e1b5
If the “log-file” option is set in ~/.gnupg/gpg.conf, then using “--batch” means that the CLI's “--logger-fd” is ignored. Since this command shouldn't need any of “--batch”'s functionality and “log-file” hides all the output we're expecting, dropping “--batch” is the sane thing to do. Closes #40 Signed-off-by: James McCoy <vega.james@gmail.com> # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # modified: plugin/gnupg.vim # # Untracked files: # foo.asc # foo.gpg # foo.sig # # ------------------------ >8 ------------------------ # Do not touch the line above. # Everything below will be removed. diff --git c/plugin/gnupg.vim i/plugin/gnupg.vim index 80f2061..b0bcd5c 100644 --- c/plugin/gnupg.vim +++ i/plugin/gnupg.vim @@ -1,5 +1,5 @@ " Name: gnupg.vim -" Last Change: 2015 Jul 16 +" Last Change: 2015 Jul 26 " Maintainer: James McCoy <vega.james@gmail.com> " Original Author: Markus Braun <markus.braun@krawel.de> " Summary: Vim plugin for transparent editing of gpg encrypted files. @@ -448,7 +448,7 @@ function s:GPGDecrypt(bufread) " find the recipients of the file let cmd = { 'level': 3 } - let cmd.args = '--verbose --decrypt --list-only --dry-run --batch --no-use-agent --logger-fd 1 ' . shellescape(filename) + let cmd.args = '--verbose --decrypt --list-only --dry-run --no-use-agent --logger-fd 1 ' . shellescape(filename) let output = s:GPGSystem(cmd) " Suppress the "N more lines" message when editing a file, not when reading |
||
---|---|---|
.. | ||
gnupg.vim |