[git] GnuPG - branch, STABLE-BRANCH-2-2, updated. gnupg-2.2.2-4-gb062ea5

by Werner Koch cvs at cvs.gnupg.org
Wed Nov 15 08:52:07 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, STABLE-BRANCH-2-2 has been updated
       via  b062ea5bc25157c942047b3fe7f5182a06106340 (commit)
      from  5ecef193bc2144e6d51a6bd5727bfd08a0d28b66 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b062ea5bc25157c942047b3fe7f5182a06106340
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Nov 15 08:47:32 2017 +0100

    gpg: Print AKL info only in verbose mode.
    
    * g10/getkey.c (get_pubkey_byname): Print info only in verbose mode.
    --
    
    GnuPG-bug-id: 3504
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/g10/getkey.c b/g10/getkey.c
index c58e8ff..f73e443 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1448,8 +1448,9 @@ get_pubkey_byname (ctrl_t ctrl, GETKEY_CTX * retctx, PKT_public_key * pk,
 	  if (!rc)
 	    {
 	      /* Key found.  */
-	      log_info (_("automatically retrieved '%s' via %s\n"),
-			name, mechanism);
+              if (opt.verbose)
+                log_info (_("automatically retrieved '%s' via %s\n"),
+                          name, mechanism);
 	      break;
 	    }
 	  if (gpg_err_code (rc) != GPG_ERR_NO_PUBKEY

-----------------------------------------------------------------------

Summary of changes:
 g10/getkey.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list