summaryrefslogtreecommitdiffstats
path: root/gitattributes.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-01-06 00:34:47 +0000
committerJunio C Hamano <junio@kernel.org>2011-01-06 00:34:47 +0000
commite0552e436a51e37f2de4749736dddb80a5788e08 (patch)
tree5b3a2f9023651c0d771d67ffa1db525a052cb0ec /gitattributes.html
parent7165bf798c79fef70904e15d0d487e713bd25ac1 (diff)
downloadgit-htmldocs-e0552e436a51e37f2de4749736dddb80a5788e08.tar.gz
Autogenerated HTML docs for v1.7.4-rc1
Diffstat (limited to 'gitattributes.html')
-rw-r--r--gitattributes.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/gitattributes.html b/gitattributes.html
index 8b5a34c50..979b72fbb 100644
--- a/gitattributes.html
+++ b/gitattributes.html
@@ -755,6 +755,15 @@ section on merging below.</p></div>
input that is already correctly indented. In this case, the lack of a
smudge filter means that the clean filter <em>must</em> accept its own output
without modifying it.</p></div>
+<div class="paragraph"><p>Sequence "%f" on the filter command line is replaced with the name of
+the file the filter is working on. A filter might use this in keyword
+substitution. For example:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><tt>[filter "p4"]
+ clean = git-p4-filter --clean %f
+ smudge = git-p4-filter --smudge %f</tt></pre>
+</div></div>
<h4 id="_interaction_between_checkin_checkout_attributes">Interaction between checkin/checkout attributes</h4>
<div class="paragraph"><p>In the check-in codepath, the worktree file is first converted
with <tt>filter</tt> driver (if specified and corresponding driver
@@ -1321,7 +1330,7 @@ frotz unspecified</tt></pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-12-13 08:31:26 UTC
+Last updated 2011-01-06 00:34:27 UTC
</div>
</div>
</body>