gpg-interface: extract gpg line matching helper
commitf68f2dd57f55e0b1782b20b615dd7a96d7fb6a41
authorJeff King <peff@peff.net>
Fri, 13 Apr 2018 21:18:34 +0000 (13 15:18 -0600)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Apr 2018 05:15:03 +0000 (16 14:15 +0900)
treef7b761c06a9cb5a13e45069b43b0712ebc63371c
parent17ef3a421e0a1019592a0b14b95f09df61730071
gpg-interface: extract gpg line matching helper

Let's separate the actual line-by-line parsing of signatures
from the notion of "is this a gpg signature line". That will
make it easier to do more refactoring of this loop in future
patches.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Ben Toews <mastahyeti@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gpg-interface.c