From: Andreas Krey Date: Tue, 21 Mar 2017 17:07:34 GMT Subject: Re: cherry-pick --message? Message-ID: <20170321170734.GI28331@inner.h.apk.li> In-Reply-To: <20170321170005.35ryjh4pr3jvvmx3@sigill.intra.peff.net> On Tue, 21 Mar 2017 13:00:05 +0000, Jeff King wrote: ... > > I have an slightly unusual usecase for cherry-pick: > > I want to modify the commit message that is used in the process, > > e.g. do an d/^PROP:/ on it, but unfortunately -m does something > > else here. > > ... > > There's "cherry-pick --edit". Yes, but. I'm in a toolchain, not a user. I'm a command that let the user cherry-pick specific things, and I need to edit out the things that made the original commit eligible to be picked in the first place. Can't quite rely on the tool's user to do that. :-( I'm not familiar with the plumbing to know where to look there. - Andreas -- "Totally trivial. Famous last words." From: Linus Torvalds Date: Fri, 22 Jan 2010 07:29:21 -0800