git/gitconfig: Add diff rules for Lisp.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 17 Oct 2009 23:51:42 +0000 (00:51 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 17 Oct 2009 23:51:42 +0000 (00:51 +0100)
Now it actually looks for `(def' things sensibly.

git/gitconfig

index 687ff9e..7ef2432 100644 (file)
@@ -20,6 +20,9 @@
 [diff]
        renames = copies
 
+[diff "lisp"]
+       xfuncname = "^\\s*\\(def.*$"
+
 [format]
        headers = "Organization: Straylight/Edgeware\n"