Re: System wide gitattributes
On Wed, Sep 16, 2009 at 01:50:03PM +0200, David Förster wrote:
Show 7 quoted lines
> from the documentation I understand that things like external diff
> tools can be set up in a gitattributes file per repository (or
> subfolder).
>
> Why is there no support for a ~/.gitattributes file? This would be
> very handy, for example to always get a textual diff of OpenDocument
> files.
I think it is simply that nobody found it particularly useful until now, and so nobody implemented it. Gitattributes tend to be somewhat tied to the project files themselves. However, I can certainly see the use of something like "*.doc diff=word" in your ~/.gitattributes.
So I think it is a sound concept; it just needs somebody to volunteer to write it.
-Peff