Crane Cai [off-list ref] writes:
* merge point will cause duplicated patch generated, for example repo B has x,
y, z, then accepted by repo A in merge point, and then merge back to repo B
(they are different with commit id), they will generate 2 twice.
This is inevitable, if 'x' and (say) 'b' corresponds to each other but has
textual changes due to different context.
* some commits do not only change the driver source code, and they change some
other files also. Unfortunately git format-patch cut them. It cause compile
error.
You are probably running "format-patch a.. -- path/to/file.c". Try giving
it the --full-diff option as well. We've recently discussed to make it
the default for format-patch but the discussion thread petered out and
didn't reach conclusion.