Thread (16 messages) flat view 16 messages, 7 authors, 2016-06-15

Re: [RFC/PATCH] attr: map builtin userdiff drivers to well-known extensions

From: Eric Sunshine <hidden>
Date: 2016-06-15 22:51:55

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help