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 ?
gcc
from the official stabletar.bz2
and another unstable version of it from agit
repository, I would like to create a patch, of course I would like to compare just against themaster
branch, not the entire repository . – user2485710 Oct 14 '14 at 21:50tar.bz2
is clearly not agit
repository, how do you think I should proceed ? – user2485710 Oct 14 '14 at 22:01