git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation/gitattributes.txt: Add an example box to demonstrate attributes
@ 2008-02-08 18:28 Jari Aalto
  0 siblings, 0 replies; only message in thread
From: Jari Aalto @ 2008-02-08 18:28 UTC (permalink / raw)
  To: git

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(-)

diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index 35a29fd..cd99a8e 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -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.
-- 
1.5.3.8


-- 
Welcome to FOSS revolution: we fix and modify until it shines

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-08 18:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 18:28 [PATCH] Documentation/gitattributes.txt: Add an example box to demonstrate attributes Jari Aalto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).