Re: [PATCH] cherry-pick: add --keep-existing-origin option

2017-10-28 Thread Anthony Wong
On 28 October 2017 at 22:21, Kevin Daudt wrote: > > On Sat, Oct 28, 2017 at 08:04:40PM +0800, Anthony Wong wrote: > > When cherry-picking from a commit whose commit message already > > contains the "(cherry picked from commit ...)" line, this option will > > not add another one. This is useful whe

Re: [PATCH] cherry-pick: add --keep-existing-origin option

2017-10-28 Thread Kevin Daudt
On Sat, Oct 28, 2017 at 08:04:40PM +0800, Anthony Wong wrote: > When cherry-picking from a commit whose commit message already > contains the "(cherry picked from commit ...)" line, this option will > not add another one. This is useful when you are cherry-picking from a > bunch of commits, some ar

[PATCH] cherry-pick: add --keep-existing-origin option

2017-10-28 Thread Anthony Wong
When cherry-picking from a commit whose commit message already contains the "(cherry picked from commit ...)" line, this option will not add another one. This is useful when you are cherry-picking from a bunch of commits, some are cherry-picks and already contains the upstream hash but some do not.