From: Eric Sunshine Date: Thu, 25 Aug 2011 21:00:51 GMT Subject: Re: [RFC/PATCH] attr: map builtin userdiff drivers to well-known extensions Message-ID: In-Reply-To: <20110825204047.GA9948@sigill.intra.peff.net> On Thu, Aug 25, 2011 at 4:40 PM, Jeff King wrote: > We already provide sane hunk-header patterns for specific > languages. However, the user has to manually map common > extensions to use them. It's not that hard to do, but it's > an extra step that the user might not even know is an > option. Let's be nice and do it automatically. > > Also, any other extensions that would go into such a list? I have no > idea what the common extension is for something like pascal or csharp. C# uses extension ".cs". ".cpp" is common, in fact often required, by Windows compilers. What about ".h" and ".hpp"? -- ES