@@ -79,7 +79,7 @@ Attributes for all users on a system should be placed in the
7979`$(prefix)/etc/gitattributes` file.
8080
8181Sometimes you would need to override an setting of an attribute
82- for a path to `unspecified ` state. This can be done by listing
82+ for a path to `Unspecified ` state. This can be done by listing
8383the name of the attribute prefixed with an exclamation point `!`.
8484
8585
@@ -868,7 +868,7 @@ If this attribute is not set or has an invalid value, the value of the
868868(See linkgit:git-config[1]).
869869
870870
871- USING ATTRIBUTE MACROS
871+ USING MACRO ATTRIBUTES
872872----------------------
873873
874874You do not want any end-of-line conversions applied to, nor textual diffs
@@ -879,24 +879,27 @@ produced for, any binary file you track. You would need to specify e.g.
879879------------
880880
881881but that may become cumbersome, when you have many attributes. Using
882- attribute macros, you can specify groups of attributes set or unset at
883- the same time. The system knows a built-in attribute macro, `binary`:
882+ macro attributes, you can define an attribute that, when set, also
883+ sets or unsets a number of other attributes at the same time. The
884+ system knows a built-in macro attribute, `binary`:
884885
885886------------
886887*.jpg binary
887888------------
888889
889- which is equivalent to the above. Note that the attribute macros can only
890- be "Set" (see the above example that sets "binary" macro as if it were an
891- ordinary attribute --- setting it in turn unsets "text" and "diff").
890+ Setting the "binary" attribute also unsets the "text" and "diff"
891+ attributes as above. Note that macro attributes can only be "Set",
892+ though setting one might have the effect of setting or unsetting other
893+ attributes or even returning other attributes to the "Unspecified"
894+ state.
892895
893896
894- DEFINING ATTRIBUTE MACROS
897+ DEFINING MACRO ATTRIBUTES
895898-------------------------
896899
897- Custom attribute macros can be defined only in the `.gitattributes` file
898- at the toplevel (i.e. not in any subdirectory). The built-in attribute
899- macro "binary" is equivalent to:
900+ Custom macro attributes can be defined only in the `.gitattributes`
901+ file at the toplevel (i.e. not in any subdirectory). The built-in
902+ macro attribute "binary" is equivalent to:
900903
901904------------
902905[attr]binary -diff -text
0 commit comments