[PATCH v3 0/3] send-email: shell completion improvements
- From
Thiago Perrotta <tbperrotta@gmail.com>
- Date
- Aug 28, 2021, 03:08 UTC
- Message-ID
- <20210828030839.2989-1-tbperrotta@gmail.com>
- In-Reply-To
- <xmqqmtpbub07.fsf@gitster.g>
"git send-email" completion (bash, zsh) is inconsistent, its flags are split into both git-completion.bash and git-send-email.perl, and it only emits format-patch flags.
Make shell completion uniform, centralizing completion options on git-send-email.perl.
Make "git send-email --git-completion-helper" properly emit send-email specific options.
Additionally, update git-send-email(1) man page to explicitly mention format-patch options.
Differences from V2:
- Incorporate Junio's code suggestions. - Follow proper conventions for git commit messages.
Thiago Perrotta (3): send-email: terminate --git-completion-helper with LF send-email: move bash completions to core script send-email docs: add format-patch options
Documentation/git-send-email.txt | 6 +++-- contrib/completion/git-completion.bash | 11 +------- git-send-email.perl | 36 +++++++++++++++++++++++++- t/t9902-completion.sh | 3 +++ 4 files changed, 43 insertions(+), 13 deletions(-)
-- 2.33.0