summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2022-08-19 18:04:11 +0200
committerJunio C Hamano <gitster@pobox.com>2022-08-19 11:13:16 -0700
commit398c4ff582646b099eb1f3b14a525dfe5eeb5420 (patch)
treee9692a4606da5272aab72f4155788e108763eb14 /builtin/commit-graph.c
parent2b057d97d796d9192ec899a2109924cabba23ba6 (diff)
builtin/worktree.c: let parse-options parse subcommands
'git worktree' parses its subcommands with a long list of if statements. parse-options has just learned to parse subcommands, so let's use that facility instead, with the benefits of shorter code, handling missing or unknown subcommands, and listing subcommands for Bash completion. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions