summaryrefslogtreecommitdiff
path: root/gdb/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/.gitattributes')
-rw-r--r--gdb/.gitattributes7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/.gitattributes b/gdb/.gitattributes
new file mode 100644
index 00000000000..8acadb9813e
--- /dev/null
+++ b/gdb/.gitattributes
@@ -0,0 +1,7 @@
+# -*- conf -*-
+
+# Use cpp-style diffs for .h and .c files. This is useful
+# if you modify classes defined in those files.
+
+*.h diff=cpp
+*.c diff=cpp