On Thu, Aug 25, 2011 at 4:40 PM, Jeff King [off-list ref] 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