Skip to contentSkip to conversation

embed original commit info in cherry-pick

feature request Chris Friesen 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

Signature · 5 lines
Chris Friesen
Software Developer
GENBAND
[email protected]
www.genband.com
#1 lore raw
Quoted 11 lines · Chris Friesen

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

#2 lore raw
Quoted 6 lines · Jeff King
Quoted 3 lines · Chris Friesen

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

Signature · 5 lines
Chris Friesen
Software Developer
GENBAND
[email protected]
www.genband.com