Thread (1 message) 1 message, 1 author, 2016-08-24

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

From: Junio C Hamano <hidden>
Date: 2016-08-24 05:39:05

Jacob Keller [off-list ref] writes:
From: Jacob Keller <redacted>

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 <redacted>
---
 builtin/log.c                    |  8 ++++----
 t/t4021-format-patch-numbered.sh | 17 +++++++++++++++++
 2 files changed, 21 insertions(+), 4 deletions(-)
Looks good, thanks.  Queued.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help