Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Re: [PATCH 0/2] log/ format-patch improvements

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:49:23

Hi Jonathan and Junio,

Junio C Hamano writes:
I am not very impressed by the counting.  It probably makes more sense to
count only what we are actually going to process and emit, i.e. always use
no-merges (do we even support format-patch on a merge?).  
Frankly, I think the patch looks like an ugly hack myself. No,
format-patch doesn't support merge commits at all.

Jonathan Nieder writes:
Ramkumar Ramachandra wrote:
quoted
Ramkumar Ramachandra writes:
quoted
quoted
The second patch clarifies the meaning of the `-<n>` option. We should
also probably force the mutual exclusivity of `-<n>` and <revision
range> to avoid confusion.
[...]
quoted
Do you see value in this patch or is it just unnecessary baggage?
I see value in avoiding confusion.  Maybe one solution would be to make
format-patch use --no-merges by default.
Good idea. I'll write a patch. Do we also want people to be able to
turn off `--no-merges`? If so, how?

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