From: Matthieu Moy Date: Wed, 22 Sep 2010 05:53:49 GMT Subject: Re: [PATCH 2/2] diff: add a special SYMLINK user-diff driver Message-ID: In-Reply-To: <20100921211303.GB1188@sigill.intra.peff.net> Jeff King writes: > So I wonder if the problem really is not in the userdiff code at all, > and we should be disabling gitattribute lookup entirely for non-regular > files. Actually, I'd also say that what needs to be changed is on the .gitattributes side, not on the .gitconfig side. Another option would be zsh-style globbing, like: # any symbolic link *(@) diff=link # Symbolic links named *.pdf *.pdf(@) (except that * means "all" to zsh, and should mean "regular" to Git). But OTOH, that's a lot of work to implement, for very little benefit. -- Matthieu Moy http://www-verimag.imag.fr/~moy/