aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorVictoria Dye <vdye@github.com>2023-11-14 19:53:50 +0000
committerJunio C Hamano <gitster@pobox.com>2023-11-16 14:02:59 +0900
commit9d4fcfe1ff5b901f47f8226d078d22370bb955be (patch)
tree80cf79b021c0e117f95659c647973f01d399d22f /commit-graph.c
parentref-filter.c: really don't sort when using --no-sort (diff)
downloadgit-9d4fcfe1ff5b901f47f8226d078d22370bb955be.tar.gz
git-9d4fcfe1ff5b901f47f8226d078d22370bb955be.zip
ref-filter.h: add max_count and omit_empty to ref_format
Add an internal 'array_opts' struct to 'struct ref_format' containing formatting options that pertain to the formatting of an entire ref array: 'max_count' and 'omit_empty'. These values are specified by the '--count' and '--omit-empty' options, respectively, to 'for-each-ref'/'tag'/'branch'. Storing these values in the 'ref_format' will simplify the consolidation of ref array formatting logic across builtins in later patches. Signed-off-by: Victoria Dye <vdye@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions