Re: Zero-length ARM headers in git HEAD

From: Russell King
Date: Fri Oct 28 2011 - 16:38:31 EST


On Fri, Oct 28, 2011 at 03:50:10PM -0400, Jeff Garzik wrote:
> Gents,
>
> In the following kernel commits,
>
> 9c587c05d715ca8461342c2cb3b4a67036b5c22b
> ea5abbd215b749b2ff14397a47a5e65741c67bf4
> cc890cd78acd7ab03442907d354b6af34e973cb3
>
> the file ...$platform/mach/gpio.h is replaced with an empty file. This
> disagrees with kernel tradition and kernel makefiles, where zero length
> files are intentionally deleted when "make distclean" is executed.

It would really help to have a hook in git which catches this at commit
time with a warning (like is possible for whitespace). At least that
would alert folk to the problem at commit time before stuff has been
published.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/