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

Re: [PATCH] add-patch: fully document option P

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 21, 2025, 21:36 UTC
Message-ID
<xmqq5xc8szr9.fsf@gitster.g>
In-Reply-To
<0188c766-d788-476d-a4d4-f95a6f59b31b@web.de>
René Scharfe <l.s.r@web.de> writes:
Show 9 quoted lines
> Show option P in the prompt and explain it properly on a dedicated line
> in online help and documentation.
>
> Signed-off-by: René Scharfe <l.s.r@web.de>
> ---
>  Documentation/git-add.adoc |  1 +
>  add-patch.c                |  5 +++--
>  t/t3701-add-interactive.sh | 44 +++++++++++++++++++-------------------
>  3 files changed, 26 insertions(+), 24 deletions(-)

Nice. I do not recall why we decided to hide "P" behind "p" like this, but I think making it clear like this patch does does make sense.

Previous: René Scharfe
Message 2 of 2 in “add-patch: fully document option P”
  1. add-patch: fully document option PRené Scharfe, Oct 21, 2025
  2. Junio C HamanoOct 21, 2025

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.