git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: System wide gitattributes

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 16, 2009, 12:53 UTC
Message-ID
<vpqd45rm4og.fsf@bauges.imag.fr>
In-Reply-To
<f46c52560909160516w1d888a23yedd1fafae515bfbe@mail.gmail.com>
Rustom Mody <rustompmody@gmail.com> writes:
Show 13 quoted lines
> 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/
Previous: Rustom ModyNext: Jeff King
Message 3 of 4 in “System wide gitattributes”
  1. David FörsterSep 16, 2009
  2. Rustom ModySep 16, 2009
  3. Matthieu MoySep 16, 2009
  4. Jeff KingSep 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.