summaryrefslogtreecommitdiff
path: root/commit-graph.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-10-24 08:57:19 +0200
committerJunio C Hamano <gitster@pobox.com>2025-10-24 13:42:44 -0700
commite83e92e87672def24d971cdfef801bb0de0d5955 (patch)
tree462eb9fb131be6214d5c256a364552d967f7ffc4 /commit-graph.h
parentd465be2327d934f3506d412cc4f4067baba0d1c5 (diff)
builtin/maintenance: improve readability of strategies
Our maintenance strategies are essentially a large array of structures, where each of the tasks can be enabled and scheduled individually. With the current layout though all the configuration sits on the same nesting layer, which makes it a bit hard to discern which initialized fields belong to what task. Improve readability of the individual tasks by using nested designated initializers instead. Suggested-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Patrick Steinhardt <ps@pks.im> Acked-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions