diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-12-19 16:09:19 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-15 14:06:13 -0800 |
commit | 3c86f6cde85216808cddce9d4947de53d590474c (patch) | |
tree | a6493f50d750770cc546c8f2d9bb5c6cda56f8f8 /Documentation/fetch-options.txt | |
parent | completion: return the index of found word from __git_find_on_cmdline() (diff) | |
download | tgif-3c86f6cde85216808cddce9d4947de53d590474c.tar.xz |
completion: simplify completing 'git worktree' subcommands and options
The completion function for 'git worktree' uses separate but very
similar case arms to complete --options for each subcommand.
Combine these into a single case arm to avoid repetition.
Note that after this change we won't complete 'git worktree remove's
'--force' option, but that is consistent with our general stance on
not offering '--force', as it should be used with care.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/fetch-options.txt')
0 files changed, 0 insertions, 0 deletions