Re: [PATCH] .gitattributes: Enable cpp diff parsing for .[ch] files
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Aug 26, 2011, 20:27 UTC
- Message-ID
- <CA+55aFxNXK-AJdrHBBycM5W632qUBi4E=jangcdRoefQiHzbug@mail.gmail.com>
- In-Reply-To
- <4E56CE8F.8080501@panasas.com>
On Thu, Aug 25, 2011 at 3:37 PM, Boaz Harrosh <bharrosh@panasas.com> wrote:
> > Add a .gitattributes file to the Linux tree to enable cpp parsing > of the source files.
Hmm. I'm not entirely conviced. If people really think that the hunk description matters that much, maybe we should just instead improve on the automatic diff detection, and extend it from just binary-vs-text, to also do the common hunk-headers.
After all, not having a diff pattern already *does* mean "automatic", so it would be just a rather trivial extension to that.
Junio?
Linus