определение атрибутов для каждого пути (Defining attributes per path)
USING MACRO ATTRIBUTES
You do not want any end-of-line conversions applied to, nor
textual diffs produced for, any binary file you track. You would
need to specify e.g.
*.jpg -text -diff
but that may become cumbersome, when you have many attributes.
Using macro attributes, you can define an attribute that, when
set, also sets or unsets a number of other attributes at the same
time. The system knows a built-in macro attribute, binary
:
*.jpg binary
Setting the "binary" attribute also unsets the "text" and "diff"
attributes as above. Note that macro attributes can only be
"Set", though setting one might have the effect of setting or
unsetting other attributes or even returning other attributes to
the "Unspecified" state.