Skip to content

Backporting

Backporting to Stable Branches is the shortest demo. Although it doesn't use kernel trees as examples, the concept is very applicable to kernel maintenance.

For conflict resolution see Backporting and conflict resolution. Depending on how the targeted tree is maintained there could be different ways to do it. One possible way is finding all the dependent patches by recursively git-blaming the partent commit of the incoming commit, like what the kernel doc mentioned.

This however might not work if commits in the targeted tree somehow deviates from the upstream too much. Good luck maintaining one then!

References

Videos