am: configure gpg at startup
commit434c64df669284af7e19fafd0ab496bc075cd24b
authorRenee Margaret McConahy <nepella@gmail.com>
Wed, 30 Sep 2015 17:49:44 +0000 (30 13:49 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Sep 2015 20:02:30 +0000 (30 13:02 -0700)
treee3fd88273e5de3dc113c32a3ec49e6b8ea66a7cb
parent1fb5a0ea96435e0bf4459fe5987df4c6b8a2fc76
am: configure gpg at startup

The new builtin am ignores the user.signingkey variable: gpg is being
called with the committer details as the key ID, which may not be
correct. git_gpg_config is responsible for handling that variable and is
expected to be called on initialization by any modules that use gpg.

Signed-off-by: Renee Margaret McConahy <nepella@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c