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

Re: [PATCH v3] format-patch: show 0/1 and 1/1 for singleton patch with cover letter

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 24, 2016, 05:37 UTC
Message-ID
<xmqq1t1eu3q2.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160823224550.32406-1-jacob.e.keller@intel.com>
Jacob Keller <jacob.e.keller@intel.com> writes:
Show 16 quoted lines
> From: Jacob Keller <jacob.keller@gmail.com>
>
> Change the default behavior of git-format-patch to generate numbered
> sequence of 0/1 and 1/1 when generating both a cover-letter and a single
> patch. This standardizes the cover letter to have 0/N which helps
> distinguish the cover letter from the patch itself. Since the behavior
> is easily changed via configuration as well as the use of -n and -N this
> should be acceptable default behavior.
>
> Add tests for the new default behavior.
>
> Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
> ---
>  builtin/log.c                    |  8 ++++----
>  t/t4021-format-patch-numbered.sh | 17 +++++++++++++++++
>  2 files changed, 21 insertions(+), 4 deletions(-)
Looks good, thanks.  Queued.
Previous: Jacob Keller
Message 2 of 2 in “format-patch: show 0/1 and 1/1 for singleton patch with cover letter”
  1. format-patch: show 0/1 and 1/1 for singleton patch with cover letterJacob Keller, Aug 23, 2016
  2. Junio C HamanoAug 24, 2016

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.