embed original commit info in cherry-pick
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
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
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