Re: [PATCH/RFC] Add global and system-wide gitattributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>> Allow gitattributes to be set globally and system wide in ~/.giattributes
>
>                                                               ^^
> I assume you mean "~/.gitattributes" (ie missing a 't').

Yeah.

> I'm not sure if the above priority order is the most desireable order, since
> the user may want to set a default attribute, and have it to be overridden
> by the .gitattributes in the repositories.

I wasn't sure either. I'm assuming info/gitattributes was made with
higher priority, so that that users could override .gitattributes
without polluting their repository, so I made the new ones behave the
same way. But now that I think of it, you probably want to do that
only for a specific repository, and have defaults for all repositories
that could be overriden by local .gitattributes. I'm going to rewrite
it this way.

Petr Onderka
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]