chiark / gitweb /
dot/gitconfig.in, git/attributes: New global `gitattributes' file.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 14 Nov 2012 21:48:47 +0000 (21:48 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 14 Nov 2012 21:48:47 +0000 (21:48 +0000)
Last time I looked you couldn't have one of these.  Turns out that you
can now.

dot/gitconfig.in
git/attributes [new file with mode: 0644]

index 49f75ab1971d33f4a009be7ea0c2ddb17c298d03..106e2a985485ac7951139f77063e0deb742509e9 100644 (file)
@@ -4,6 +4,7 @@
 [core]
        filemode = true
        excludesfile = @profile@/git/gitignore
+       attributesfile = @profile@/git/attributes
 
 [user]
        name = Mark Wooding
diff --git a/git/attributes b/git/attributes
new file mode 100644 (file)
index 0000000..1bbda79
--- /dev/null
@@ -0,0 +1,5 @@
+### -*-conf-*-
+
+*.el           diff=lisp
+.emacs         diff=lisp
+*.lisp         diff=lisp