summaryrefslogtreecommitdiff
path: root/t/t4205-log-pretty-formats.sh
diff options
context:
space:
mode:
authorLibravatar Eli Schwartz <eschwartz@archlinux.org>2021-10-31 13:15:08 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-01 10:34:32 -0700
commit3c6eb4ec50d9a4a9017fb8c1f220d12dceb206b1 (patch)
tree629b7143891befaa5e4fe4863e2d3f3c2a9ae150 /t/t4205-log-pretty-formats.sh
parentThe fourteenth batch (diff)
downloadtgif-3c6eb4ec50d9a4a9017fb8c1f220d12dceb206b1.tar.xz
pretty.c: rework describe options parsing for better extensibility
It contains option arguments only, not options. We would like to add option support here too, but to do that we need to distinguish between different types of options. Lay out the groundwork for distinguishing between bools, strings, etc. and move the central logic (validating values and pushing new arguments to *args) into the successful match, because that will be fairly conditional on what type of argument is being parsed. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4205-log-pretty-formats.sh')
0 files changed, 0 insertions, 0 deletions