]> git.ipfire.org Git - thirdparty/git.git/commit - trailer.c
trailer: put process_trailers() options into a struct
authorJeff King <peff@peff.net>
Thu, 10 Aug 2017 18:03:58 +0000 (14:03 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Aug 2017 19:41:25 +0000 (12:41 -0700)
commit8abc89800c09cda7910c2211ebbbbb95a3008b63
tree5b44f9610fdcc743b0bf5257a072ff2477757797
parentcf8899d285d2648013040ec7196ffd3de0606664
trailer: put process_trailers() options into a struct

We already have two options and are about to add a few more.
To avoid having a huge number of boolean arguments, let's
convert to an options struct which can be passed in.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/interpret-trailers.c
trailer.c
trailer.h