One suggestion I have regarding the commits backported is that we use the following syntax for cherry-pick:
git cherry-pick -x -e <commit-id>
then we can add message:
Backport from #pr
Here is an example commit message:
Remove Tools/vssdk*_tools/inc folder.
This folder contains only .h files which aren't used by Npgsql and takes a large space.
(cherry picked from commit 7092c6d)
Backport from #293
This way, it would become easier to find if an specific commit was applied to the branch.
Also, by adding the "Backport from #pr" will make this commit appear in the pr discussion and we will be able to easily see that it was applied.
I remember I saw this idea somewhere in the stackoverflow but I'm not finding the reference right now.
For example, in the #293 I can see the commit done in the release-2.2.0 branch.
https://github.com/npgsql/Npgsql/pull/293