* System wide gitattributes
@ 2009-09-16 11:50 David Förster
2009-09-16 12:16 ` Rustom Mody
2009-09-24 7:08 ` Jeff King
0 siblings, 2 replies; 4+ messages in thread
From: David Förster @ 2009-09-16 11:50 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
Hi there,
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.
Regards,
- David
ps: Please cc, I'm not on the list.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3336 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: System wide gitattributes
2009-09-16 11:50 System wide gitattributes David Förster
@ 2009-09-16 12:16 ` Rustom Mody
2009-09-16 12:53 ` Matthieu Moy
2009-09-24 7:08 ` Jeff King
1 sibling, 1 reply; 4+ messages in thread
From: Rustom Mody @ 2009-09-16 12:16 UTC (permalink / raw)
To: David Förster; +Cc: git
2009/9/16 David Förster <david.foerster@andrena.de>:
> Hi there,
>
> 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.
>
They are there; see
http://www.kernel.org/pub/software/scm/git/docs/git-config.html#FILES
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: System wide gitattributes
2009-09-16 12:16 ` Rustom Mody
@ 2009-09-16 12:53 ` Matthieu Moy
0 siblings, 0 replies; 4+ messages in thread
From: Matthieu Moy @ 2009-09-16 12:53 UTC (permalink / raw)
To: Rustom Mody; +Cc: David Förster, git
Rustom Mody <rustompmody@gmail.com> writes:
> 2009/9/16 David Förster <david.foerster@andrena.de>:
>> Hi there,
>>
>> 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.
>>
>
> They are there; see
>
> http://www.kernel.org/pub/software/scm/git/docs/git-config.html#FILES
~/.gitconfig is there, but I don't see a ~/.gitattributes file
mentionned in this page ...
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: System wide gitattributes
2009-09-16 11:50 System wide gitattributes David Förster
2009-09-16 12:16 ` Rustom Mody
@ 2009-09-24 7:08 ` Jeff King
1 sibling, 0 replies; 4+ messages in thread
From: Jeff King @ 2009-09-24 7:08 UTC (permalink / raw)
To: David Förster; +Cc: git
On Wed, Sep 16, 2009 at 01:50:03PM +0200, David Förster wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-09-24 7:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 11:50 System wide gitattributes David Förster
2009-09-16 12:16 ` Rustom Mody
2009-09-16 12:53 ` Matthieu Moy
2009-09-24 7:08 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).