Re: .gitignore for large files?

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

 



Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> writes:

> While .gitattributes looks like a better place, it does not have
> "exclude" attribute equivalence to .gitignore. If I remember
> correctly, the way .gitignore and .gitattributes are implemented makes
> it very hard to turn .gitignore into part of .gitattributes
> implementation (gitattr checks .gitattributes of current dir first,
> then upward to parents, while .gitgnore follows the opposite
> direction).

While I do not think it is necessarily a good idea to invent yet another
way to exclude and add it to the attributes mechanism (unless we will be
dropping the support for gitignore, which is not the case), I do not know
why you think the direction of the scan matters.

A more important difference is that the attribute mechanism covers the
actual paths, not intermediate directories, unlike gitignore does.
--
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]