summaryrefslogtreecommitdiffstats
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2022-08-19 18:04:01 +0200
committerJunio C Hamano <gitster@pobox.com>2022-08-19 20:13:15 +0200
commitaef7d75e5809eda765bbe407c7f8e0f8617f0fd0 (patch)
tree18831693ab6b1d34e13d185c405f70ad11b850bd /builtin/commit-graph.c
parentparse-options: add support for parsing subcommands (diff)
downloadgit-aef7d75e5809eda765bbe407c7f8e0f8617f0fd0.tar.xz
git-aef7d75e5809eda765bbe407c7f8e0f8617f0fd0.zip
builtin/bundle.c: let parse-options parse subcommands
'git bundle' 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, 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