{"thread":{"id":"20970","subject":"System wide gitattributes","startedAt":"2009-09-16T11:50:03Z","lastAt":"2009-09-24T07:08:57Z","messageCount":4,"participants":["David Förster","Rustom Mody","Matthieu Moy","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"123342","messageId":"4AB0D0EB.5080105@andrena.de","threadId":"20970","inReplyTo":null,"subject":"System wide gitattributes","fromName":"David Förster","fromEmail":"david.foerster@andrena.de","sentAt":"2009-09-16T11:50:03Z","receivedAt":"2009-09-16T11:50:03Z","isPatch":false,"sender":{"key":"david.foerster@andrena.de","avatar":null},"body":"Hi there,\n\nfrom the documentation I understand that things like external diff tools \ncan be set up in a gitattributes file per repository (or subfolder).\n\nWhy is there no support for a ~/.gitattributes file? This would be very \nhandy, for example to always get a textual diff of OpenDocument files.\n\nRegards,\n  - David\n\nps: Please cc, I'm not on the list.\n"},{"id":"123343","messageId":"f46c52560909160516w1d888a23yedd1fafae515bfbe@mail.gmail.com","threadId":"20970","inReplyTo":"4AB0D0EB.5080105@andrena.de","subject":"Re: System wide gitattributes","fromName":"Rustom Mody","fromEmail":"rustompmody@gmail.com","sentAt":"2009-09-16T12:16:04Z","receivedAt":"2009-09-16T12:16:04Z","isPatch":false,"sender":{"key":"rustompmody@gmail.com","avatar":null},"body":"2009/9/16 David Förster <david.foerster@andrena.de>:\n> Hi there,\n>\n> from the documentation I understand that things like external diff tools can\n> be set up in a gitattributes file per repository (or subfolder).\n>\n> Why is there no support for a ~/.gitattributes file? This would be very\n> handy, for example to always get a textual diff of OpenDocument files.\n>\n\nThey are there; see\n\nhttp://www.kernel.org/pub/software/scm/git/docs/git-config.html#FILES\n"},{"id":"123344","messageId":"vpqd45rm4og.fsf@bauges.imag.fr","threadId":"20970","inReplyTo":"f46c52560909160516w1d888a23yedd1fafae515bfbe@mail.gmail.com","subject":"Re: System wide gitattributes","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2009-09-16T12:53:35Z","receivedAt":"2009-09-16T12:53:35Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Rustom Mody <rustompmody@gmail.com> writes:\n\n> 2009/9/16 David Förster <david.foerster@andrena.de>:\n>> Hi there,\n>>\n>> from the documentation I understand that things like external diff tools can\n>> be set up in a gitattributes file per repository (or subfolder).\n>>\n>> Why is there no support for a ~/.gitattributes file? This would be very\n>> handy, for example to always get a textual diff of OpenDocument files.\n>>\n>\n> They are there; see\n>\n> http://www.kernel.org/pub/software/scm/git/docs/git-config.html#FILES\n\n~/.gitconfig is there, but I don't see a ~/.gitattributes file\nmentionned in this page ...\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"123719","messageId":"20090924070857.GA461@coredump.intra.peff.net","threadId":"20970","inReplyTo":"4AB0D0EB.5080105@andrena.de","subject":"Re: System wide gitattributes","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2009-09-24T07:08:57Z","receivedAt":"2009-09-24T07:08:57Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Sep 16, 2009 at 01:50:03PM +0200, David Förster wrote:\n\n> from the documentation I understand that things like external diff\n> tools can be set up in a gitattributes file per repository (or\n> subfolder).\n> \n> Why is there no support for a ~/.gitattributes file? This would be\n> very handy, for example to always get a textual diff of OpenDocument\n> files.\n\nI think it is simply that nobody found it particularly useful until now,\nand so nobody implemented it. Gitattributes tend to be somewhat tied to\nthe project files themselves. However, I can certainly see the use of\nsomething like \"*.doc diff=word\" in your ~/.gitattributes.\n\nSo I think it is a sound concept; it just needs somebody to volunteer to\nwrite it.\n\n-Peff\n"}]}