diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2022-08-19 18:04:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-19 11:13:16 -0700 |
commit | 729b97332b05564133e4039fbab9f694c25097a2 (patch) | |
tree | 43995dd3e60d8aa43863edab5820d9ba94df9f08 /builtin/commit-graph.c | |
parent | 54ef7676bab9292c041e6ada73bb48a4c261c71b (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