From e3a6246eff4a793171511f32e9c6877faa2f6f3e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Sep 2015 11:56:01 -0700 Subject: Improve git diff hunk headers for .el, .texi Problem reported by Alan Mackenzie in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html * .gitattributes (*.el, *.texi): New patterns. * autogen.sh: Configure diff.elisp.xfuncname and diff.texinfo.xfuncname if using Git. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes index 21af4e68770..ac26a2bbcd2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -44,3 +44,7 @@ doc/misc/texinfo.tex -whitespace=blank-at-eol *.sig binary *.tiff binary etc/e/eterm-color binary + +# Hooks for non-default diff hunk headers; see autogen.sh. +*.el diff=elisp +*.texi diff=texinfo -- cgit v1.2.3