diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-31 13:15:08 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-01 10:34:32 -0700 |
commit | 3c6eb4ec50d9a4a9017fb8c1f220d12dceb206b1 (patch) | |
tree | 629b7143891befaa5e4fe4863e2d3f3c2a9ae150 /t/t5515/fetch.br-branches-default | |
parent | The fourteenth batch (diff) | |
download | tgif-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/t5515/fetch.br-branches-default')
0 files changed, 0 insertions, 0 deletions