summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2022-08-19 18:04:07 +0200
committerJunio C Hamano <gitster@pobox.com>2022-08-19 11:13:16 -0700
commit729b97332b05564133e4039fbab9f694c25097a2 (patch)
tree43995dd3e60d8aa43863edab5820d9ba94df9f08 /builtin/commit-graph.c
parent54ef7676bab9292c041e6ada73bb48a4c261c71b (diff)
builtin/reflog.c: let parse-options parse subcommands
'git reflog' parses its subcommands with a couple of if-else if statements. parse-options has just learned to parse subcommands, so let's use that facility instead, with the benefits of shorter code, 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