Sorry, hit reply instead of reply-all; resending to list.

On Fri, Aug 22, 2014 at 10:10 AM, Thorsten Jolitz <[email protected]> wrote:
>
> Lately I see this using (ma)git on (uncompiled) emacs-lisp files (.el
> extension):

To be clear, this happens with git from the command line, not just
magit? Do you have any NUL characters in your file? I think adding

    *.el diff

to your ~/.gitattributes file should avoid the problem. Or even better

    *.el diff=lisp

and add this to your ~/.gitconfig:

    [diff "lisp"]
        xfuncname = "^\\(.*$"


That way you get nicer headers for your lisp diffs.

See http://git-scm.com/docs/gitattributes for details.

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to