git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/3] git-send-email options and completion improvements

From
Thiago Perrotta <tbperrotta@gmail.com>
Date
Aug 2, 2021, 20:49 UTC
Message-ID
<20210802204953.229867-1-tbperrotta@gmail.com>

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
Next: Thiago Perrotta
Message 1 of 4 in “git-send-email options and completion improvements”
  1. 0/3 git-send-email options and completion improvementsThiago Perrotta, Aug 2, 2021
  2. 1/3 Print newline for git-send-email --git-completion-helper.Thiago Perrotta, Aug 2, 2021
  3. 2/3 Move bash git-send-email completions to original script.Thiago Perrotta, Aug 2, 2021
  4. 3/3 Expand git-send-email docs to mention format-patch options.Thiago Perrotta, Aug 2, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.