gpg-interface: introduce an abstraction for multiple gpg formats
authorHenning Schild <henning.schild@siemens.com>
Tue, 17 Jul 2018 12:50:09 +0000 (14:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2018 17:02:18 +0000 (10:02 -0700)
commit58af57e1c886a7c9fed7fb35f2dd8dd14cc5e4e0
treef64e04402dc22d95fdc01ccbf2afa24dde171ff4
parent1865a647c3d8bb6367be4b799dd95217ccfbe26e
gpg-interface: introduce an abstraction for multiple gpg formats

Create a struct that holds the format details for the supported formats.
At the moment that is still just "openpgp". This commit prepares for the
introduction of more formats, that might use other programs and match
other signatures.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gpg-interface.c