Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-23

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

From: Jacob Keller <hidden>
Date: 2016-08-23 21:12:35

On Tue, Aug 23, 2016 at 9:33 AM, Junio C Hamano [off-list ref] wrote:
Jacob Keller [off-list ref] writes:
quoted
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.

Signed-off-by: Jacob Keller <redacted>
---
This obviously changes the behaviour, but I do not think of a reason
why this change is a bad idea.
Yes. The basic idea is "number all files outputted if we generate more
than 1 file" Since a cover letter is a separate file, we number 0/1
and 1/1.

Thanks,
Jake
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help