Re: [PATCH] add -C[NUM] to git-am

5 messages, 4 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] add -C[NUM] to git-am

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:53

"Michael S. Tsirkin" [off-list ref] writes:
Add -C[NUM] to git-am so that patches can be applied even
if context has changed a bit.

Signed-off-by: Michael S. Tsirkin <redacted>

---

I just had to apply a largish number of patches on a project
that has evolved since, and I found the following to be useful.

What do others think.
FWIW, I am in favor although I do not foresee myself ever using
it.  However, this has slight ramifications.

 - we will be keeping applymbox after all.  shouldn't this be
   side-ported to it?

 - am is used as a workhorse for rebase.  shouldn't this be
   accessible through its command line as well?

The same goes for Andy's --patchdepth thing.

Re: [PATCH] add -C[NUM] to git-am

From: Michael S. Tsirkin <hidden>
Date: 2016-06-15 22:42:53

Quoting r. Junio C Hamano [off-list ref]:
Subject: Re: [PATCH] add -C[NUM] to git-am

"Michael S. Tsirkin" [off-list ref] writes:
quoted
Add -C[NUM] to git-am so that patches can be applied even
if context has changed a bit.

Signed-off-by: Michael S. Tsirkin <redacted>

---

I just had to apply a largish number of patches on a project
that has evolved since, and I found the following to be useful.

What do others think.
FWIW, I am in favor although I do not foresee myself ever using
it.  However, this has slight ramifications.

 - we will be keeping applymbox after all.  shouldn't this be
   side-ported to it?
OK.
 - am is used as a workhorse for rebase.  shouldn't this be
   accessible through its command line as well?
How will it be used?

-- 
MST

Re: [PATCH] add -C[NUM] to git-am

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:53

Hi,

On Wed, 7 Feb 2007, Junio C Hamano wrote:
 - we will be keeping applymbox after all.
Why? Does -am not do strictly more than applymbox?

Ciao,
Dscho

Re: [PATCH] add -C[NUM] to git-am

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:53

Johannes Schindelin wrote:
On Wed, 7 Feb 2007, Junio C Hamano wrote:
quoted
 - we will be keeping applymbox after all.
Why? Does -am not do strictly more than applymbox?
From documentation, it looks like applymbox can get signoff from a file,
and am not.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

Re: [PATCH] add -C[NUM] to git-am

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:53

Hi,

[please Cc me when replying]

On Thu, 8 Feb 2007, Jakub Narebski wrote:
Johannes Schindelin wrote:
quoted
On Wed, 7 Feb 2007, Junio C Hamano wrote:
quoted
 - we will be keeping applymbox after all.
Why? Does -am not do strictly more than applymbox?
From documentation, it looks like applymbox can get signoff from a file, 
and am not.
Seems like just another low-hanging fruit. But I cannot believe that this 
is the only reason to keep applymbox.

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