summaryrefslogtreecommitdiffstats
path: root/gitignore.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-02-17 03:53:51 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-02-17 03:53:51 +0000
commit26e590af87e1a4283ac0668cc1386493576f703b (patch)
tree115c1ae9bf587e5d00ec7456acd7997e3b0f3864 /gitignore.html
parent21391935ea09bef7fec78d01ee8f9e7d103fa710 (diff)
downloadgit-htmldocs-26e590af87e1a4283ac0668cc1386493576f703b.tar.gz
Autogenerated HTML docs for v1.5.4.1-183-gf873
Diffstat (limited to 'gitignore.html')
-rw-r--r--gitignore.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/gitignore.html b/gitignore.html
index 199f8c66a..36f952cbc 100644
--- a/gitignore.html
+++ b/gitignore.html
@@ -343,6 +343,16 @@ An optional prefix <em>!</em> which negates the pattern; any
</li>
<li>
<p>
+If the pattern ends with a slash, it is removed for the
+ purpose of the following description, but it would only find
+ a match with a directory. In other words, <tt>foo/</tt> will match a
+ directory <tt>foo</tt> and paths underneath it, but will not match a
+ regular file or a symbolic link <tt>foo</tt> (this is consistent
+ with the way how pathspec works in general in git).
+</p>
+</li>
+<li>
+<p>
If the pattern does not contain a slash <em>/</em>, git treats it as
a shell glob pattern and checks for a match against the
pathname without leading directories.
@@ -412,7 +422,7 @@ Frank Lichtenheld, and the git-list &lt;git@vger.kernel.org&gt;.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 07-Jan-2008 07:51:00 UTC
+Last updated 17-Feb-2008 03:50:09 UTC
</div>
</div>
</body>