[PATCH] xts5: Rename .m files to .mc

Dan Nicholson dbn.lists at gmail.com
Thu Nov 18 17:12:24 PST 2010


On Thu, Nov 18, 2010 at 5:00 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> gcc insists on .m files being Objective C files and then complains about
> them not complaining. There's probably an autotools hack around this, but
> renaming does the same job.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>
> ---
>
> Had to send it again, the original one exceeded the list size limits.
> I removed the diffs except for the one interesting hunk, I guess you can
> imagine how the diffs for "git mv" look like.

For future reference, you can create smaller patches of these types
with "git format-patch -M" to do rename detection. It also makes
things a lot more readable. I think as long as you warn people that
you need to use "git apply" to use it, you'd be alright.

--
Dan


More information about the xorg-devel mailing list