diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-06-03 16:01:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-03 08:30:49 -0700 |
commit | a7c86d328ffe2d93cb1bfaf557dba7a2034ec17b (patch) | |
tree | 5fb0ee82f9638de600ee2f9992b00266b61d8931 /git-gui/lib | |
parent | 1bb6bdb646583a2fc2e0e6436f5cdabdd4d14189 (diff) |
builtin/maintenance: mark "--task=" and "--schedule=" as incompatible
The "--task=" option explicitly allows the user to say which maintenance
tasks should be run, whereas "--schedule=" only respects the maintenance
strategy configured for a specific repository. As such, it is not
sensible to accept both options at the same time.
Mark them as incompatible with one another. While at it, also convert
the existing logic that marks "--auto" and "--schedule=" as incompatible
to use `die_for_incompatible_opt2()`.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib')
0 files changed, 0 insertions, 0 deletions