diff options
author | John Passaro <john.a.passaro@gmail.com> | 2024-05-05 18:49:08 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-07 10:05:41 -0700 |
commit | 56740f9910218a03374b5e410b3a2d204d7c33ed (patch) | |
tree | 7a20accf593af9ec23f438d772e6d33a0ae89eea /commit-graph.c | |
parent | d4cc1ec35f3bcce816b69986ca41943f6ce21377 (diff) |
builtin/commit: use ARGV macro to collect trailers
Replace git-commit's callback for --trailer with the standard
OPT_PASSTHRU_ARGV macro. The callback only adds its values to a strvec
and sanity-checks that `unset` is always false; both of these are
already implemented in the parse-option API.
Signed-off-by: John Passaro <john.a.passaro@gmail.com>
Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions