Documentation/gitattributes.txt: Add an example box to demonstrate attributes
PATCH 1/1 Documentation/gitattributes.txt: Add an example box to demonstrate attributes
Demonstrate the meaning of set, unset, set to value, unspecied in a asciidoc 'listing block'.
--- Documentation/gitattributes.txt | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
Documentation/gitattributes.txt +6 -0
@@ -52,6 +52,12 @@ Unspecified:: the path has or does not have the attribute, the attribute for the path is said to be Unspecified. +---------------------------------------------------------------- +# Examples: set, unset, set to value, unspecified + +*.txt attribute -attribute attribute=value !attribute +---------------------------------------------------------------- + When more than one glob pattern matches the path, a later line overrides an earlier line. This overriding is done per attribute.
Signature · 5 lines
1.5.3.8 -- Welcome to FOSS revolution: we fix and modify until it shines