On Sat, 5 Nov 2022 14:13:14 -0700 Linus Torvalds torvalds@linux-foundation.org wrote:
(Comparing output is also fun because the ordering of the patches is random, so consecutive runs with the same rule will give different patches. I assume that it's just because it's done in parallel, but it doesn't help the "try to see what changes when you change the script" ;)
What I do to compare is:
patch -p1 < cocci1.patch git commit -a git show | patch -p1 -R patch -p1 < cocci2.patch git diff
Then I see how things changed. This is how I was able to show you the tweaks I made.
-- Steve