I would like to create a patch from a specific
gcc branch comparing it to the official releases; so when I unpack the tarball from the stable release, I can apply the patch and get the equivalent of what was in that specific branch .
It's the first time I need to create a patch, so it's my very first time doing this and my main concern is to get the options and the parsing right since we are talking about an extremely important piece of software
diff -crB GccStable GccGit > /tmp/fromStabletoBranch.patch
Is this enough and the best way of doing it ?