summaryrefslogtreecommitdiffstats
path: root/gitattributes.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-02-27 15:37:49 -0800
committerJunio C Hamano <gitster@pobox.com>2017-02-27 15:37:49 -0800
commitcbe0eb29622a497f18818e4481f27636446b86d7 (patch)
treeda1fda656a0a1af2c8056d46ac3175ddcf876b70 /gitattributes.html
parentfa0dac3fc7e469b539896aae52323ed08805a46c (diff)
downloadgit-htmldocs-cbe0eb29622a497f18818e4481f27636446b86d7.tar.gz
Autogenerated HTML docs for v2.12.0-189-g3bc532
Diffstat (limited to 'gitattributes.html')
-rw-r--r--gitattributes.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/gitattributes.html b/gitattributes.html
index b5c684c7c..1b0185ea5 100644
--- a/gitattributes.html
+++ b/gitattributes.html
@@ -761,9 +761,11 @@ gitattributes(5) Manual Page
<pre><code>pattern attr1 attr2 ...</code></pre>
</div></div>
<div class="paragraph"><p>That is, a pattern followed by an attributes list,
-separated by whitespaces. When the pattern matches the
-path in question, the attributes listed on the line are given to
-the path.</p></div>
+separated by whitespaces. Leading and trailing whitespaces are
+ignored. Lines that begin with <em>#</em> are ignored. Patterns
+that begin with a double quote are quoted in C style.
+When the pattern matches the path in question, the attributes
+listed on the line are given to the path.</p></div>
<div class="paragraph"><p>Each attribute can be in one of these states for a given path:</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
@@ -838,7 +840,7 @@ Its default value is $XDG_CONFIG_HOME/git/attributes. If $XDG_CONFIG_HOME
is either not set or empty, $HOME/.config/git/attributes is used instead.
Attributes for all users on a system should be placed in the
<code>$(prefix)/etc/gitattributes</code> file.</p></div>
-<div class="paragraph"><p>Sometimes you would need to override an setting of an attribute
+<div class="paragraph"><p>Sometimes you would need to override a setting of an attribute
for a path to <code>Unspecified</code> state. This can be done by listing
the name of the attribute prefixed with an exclamation point <code>!</code>.</p></div>
</div>
@@ -2014,7 +2016,7 @@ frotz unspecified</code></pre>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-12-27 14:37:07 PST
+Last updated 2017-02-27 15:37:25 PST
</div>
</div>
</body>