diff options
| author | Victoria Dye <vdye@github.com> | 2023-11-14 19:53:50 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-11-16 14:02:59 +0900 |
| commit | 9d4fcfe1ff5b901f47f8226d078d22370bb955be (patch) | |
| tree | 80cf79b021c0e117f95659c647973f01d399d22f /commit-graph.c | |
| parent | ref-filter.c: really don't sort when using --no-sort (diff) | |
| download | git-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
