git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [feature request] embed original commit info in cherry-pick
@ 2011-02-24 18:30 Chris Friesen
  2011-02-24 19:12 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Friesen @ 2011-02-24 18:30 UTC (permalink / raw)
  To: git


If I cherry-pick a  bugfix from a more recent version of a project, it
would be useful to have an indication somewhere in the commit
information of where it originally came from.

That way, if I then upgrade to a newer version of the software it
becomes obvious that I don't need to worry about porting that commit
forwards because it's already been handled upstream.

As it stands, it's not immediately obvious what was cherry-picked vs
what was developed locally.

Chris

-- 
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [feature request] embed original commit info in cherry-pick
  2011-02-24 18:30 [feature request] embed original commit info in cherry-pick Chris Friesen
@ 2011-02-24 19:12 ` Jeff King
  2011-02-24 19:17   ` Chris Friesen
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff King @ 2011-02-24 19:12 UTC (permalink / raw)
  To: Chris Friesen; +Cc: git

On Thu, Feb 24, 2011 at 12:30:33PM -0600, Chris Friesen wrote:

> 
> If I cherry-pick a  bugfix from a more recent version of a project, it
> would be useful to have an indication somewhere in the commit
> information of where it originally came from.
> 
> That way, if I then upgrade to a newer version of the software it
> becomes obvious that I don't need to worry about porting that commit
> forwards because it's already been handled upstream.
> 
> As it stands, it's not immediately obvious what was cherry-picked vs
> what was developed locally.

Have you tried cherry-pick -x?

-Peff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [feature request] embed original commit info in cherry-pick
  2011-02-24 19:12 ` Jeff King
@ 2011-02-24 19:17   ` Chris Friesen
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Friesen @ 2011-02-24 19:17 UTC (permalink / raw)
  To: Jeff King; +Cc: git

On 02/24/2011 01:12 PM, Jeff King wrote:
> On Thu, Feb 24, 2011 at 12:30:33PM -0600, Chris Friesen wrote:
>> If I cherry-pick a  bugfix from a more recent version of a project, it
>> would be useful to have an indication somewhere in the commit
>> information of where it originally came from.
> 
> Have you tried cherry-pick -x?

Okay, I'm an idiot.  Thanks for the pointer, sorry for the noise.

Chris

-- 
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-24 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 18:30 [feature request] embed original commit info in cherry-pick Chris Friesen
2011-02-24 19:12 ` Jeff King
2011-02-24 19:17   ` Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).