aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorJohn Passaro <john.a.passaro@gmail.com>2024-05-05 18:49:08 +0000
committerJunio C Hamano <gitster@pobox.com>2024-05-07 10:05:41 -0700
commit56740f9910218a03374b5e410b3a2d204d7c33ed (patch)
tree7a20accf593af9ec23f438d772e6d33a0ae89eea /refs/files-backend.c
parentStart the 2.46 cycle (diff)
downloadgit-56740f9910218a03374b5e410b3a2d204d7c33ed.tar.gz
git-56740f9910218a03374b5e410b3a2d204d7c33ed.zip
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 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions