Re: System wide gitattributes
- From
Jeff King <peff@peff.net>
- Date
- Sep 24, 2009, 07:08 UTC
- Message-ID
- <20090924070857.GA461@coredump.intra.peff.net>
- In-Reply-To
- <4AB0D0EB.5080105@andrena.de>
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