diff options
| -rw-r--r-- | .gitattributes | 3 | ||||
| -rw-r--r-- | etc/git/gitconfig | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..b31f7fd74d4 --- /dev/null +++ b/.gitattributes | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | *.scm diff=scheme | ||
| 2 | *.scm.in diff=scheme | ||
| 3 | *.texi diff=texinfo | ||
diff --git a/etc/git/gitconfig b/etc/git/gitconfig new file mode 100644 index 00000000000..c9ebdc8fa88 --- /dev/null +++ b/etc/git/gitconfig | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | [diff "scheme"] | ||
| 2 | xfuncname = "^(\\(define.*)$" | ||
| 3 | |||
| 4 | [diff "texinfo"] | ||
| 5 | xfuncname = "^@node[[:space:]]+([^,]+).*$" | ||
