[PATCH 1/5] trailer: put process_trailers() options into a struct

2017-08-10 Thread Jeff King
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 --- builtin/interpret-trailers.c | 13 ++--- trailer.c| 10 ++

[PATCH 1/5] trailer: put process_trailers() options into a struct

2017-08-09 Thread Jeff King
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 --- builtin/interpret-trailers.c | 13 ++--- trailer.c| 9 + t