summaryrefslogtreecommitdiffstats
path: root/gitattributes.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-08 15:26:49 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-08 15:26:49 -0700
commite548d1b2c1b0ecaf83038da7b3098aa3c9466c0c (patch)
tree6022c61f9a7ded3a98b29c5424bf8dbb38868fe9 /gitattributes.txt
parentadb9b58bf7b67b33fb06a5b6e7a385cb0a4ef837 (diff)
downloadgit-htmldocs-e548d1b2c1b0ecaf83038da7b3098aa3c9466c0c.tar.gz
Autogenerated HTML docs for v2.9.2-664-ga0a18
Diffstat (limited to 'gitattributes.txt')
-rw-r--r--gitattributes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitattributes.txt b/gitattributes.txt
index b40068bdf..34db3e219 100644
--- a/gitattributes.txt
+++ b/gitattributes.txt
@@ -377,6 +377,11 @@ substitution. For example:
smudge = git-p4-filter --smudge %f
------------------------
+Note that "%f" is the name of the path that is being worked on. Depending
+on the version that is being filtered, the corresponding file on disk may
+not exist, or may have different contents. So, smudge and clean commands
+should not try to access the file on disk, but only act as filters on the
+content provided to them on standard input.
Interaction between checkin/checkout attributes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^