git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/3] git-send-email options and completion improvements
@ 2021-08-02 20:49 Thiago Perrotta
  2021-08-02 20:49 ` [PATCH 1/3] Print newline for git-send-email --git-completion-helper Thiago Perrotta
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thiago Perrotta @ 2021-08-02 20:49 UTC (permalink / raw)
  To: git; +Cc: Thiago Perrotta

This patch makes git-send-email completion (bash, zsh) uniform,
centralizing the completion options on git-send-email.perl instead of
git-completion.bash

The overall result is that git send-email --git-completion-helper now
properly emits send-email specific options. Previously, it was only
emitting format-patch flags.

Additionally there's a sentence in git-send-email(1) to explicitly
mention that format-patch options can also be passed to it. Currently
it's not obvious this is the case from the man page alone.

Thiago Perrotta (3):
  Print newline for git-send-email --git-completion-helper.
  Move bash git-send-email completions to original script.
  Expand git-send-email docs to mention format-patch options.

 Documentation/git-send-email.txt       |  2 ++
 contrib/completion/git-completion.bash | 11 +-------
 git-send-email.perl                    | 35 ++++++++++++++++++++++++++
 t/t9902-completion.sh                  |  3 +++
 4 files changed, 41 insertions(+), 10 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-02 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 20:49 [PATCH 0/3] git-send-email options and completion improvements Thiago Perrotta
2021-08-02 20:49 ` [PATCH 1/3] Print newline for git-send-email --git-completion-helper Thiago Perrotta
2021-08-02 20:49 ` [PATCH 2/3] Move bash git-send-email completions to original script Thiago Perrotta
2021-08-02 20:49 ` [PATCH 3/3] Expand git-send-email docs to mention format-patch options Thiago Perrotta

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).