diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-11-10 12:41:24 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-11 11:46:26 +0900 |
commit | 73c3253d75e1268946834e72147481fc9a66cc90 (patch) | |
tree | acd88c5878b7143fa7d0a8345f28b9f5712cf50b /bundle.h | |
parent | The first batch post 2.24 cycle (diff) | |
download | tgif-73c3253d75e1268946834e72147481fc9a66cc90.tar.xz |
bundle: framework for options before bundle file
Make it possible for any of the git-bundle subcommands to include
options:
- before the sub-command
- after the sub-command, before the bundle filename
There is an immediate gain in support for help with all of the
sub-commands, where 'git bundle list-heads -h' previously returned an
error.
Downside here is an increase in code duplication that cannot be
trivially avoided short of shared global static options.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle.h')
0 files changed, 0 insertions, 0 deletions