Re: [RFC/PATCH] cherry-pick/revert: add support for -X/--strategy-option
- From
Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
- Date
- Dec 27, 2010, 15:38 UTC
- Message-ID
- <alpine.DEB.1.10.1012271630560.788@debian>
- In-Reply-To
- <20101227212515.GA32352@burratino>
On Mon, 27 Dec 2010, Jonathan Nieder wrote:
Show 18 quoted lines
> Jonathan Nieder wrote: > > > For example, this would allow cherry-picking or reverting patches from > > a piece of history with a different end-of-line style, like so: > > > > $ git revert -Xrenormalize old-problematic-commit > > > > Currently that is possible with manual use of merge-recursive but the > > cherry-pick/revert porcelain does not expose the functionality. > > > > While at it, document the existing support for --strategy. > > > > Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> > > --- > > Thoughts? > > Ping? I use this with -Xpatience fairly often. Am I the only one who > has wanted such a thing?
FWIW, I have wanted it for the end-of-line scenario you describe above.
/Martin