diff options
author | Junio C Hamano <junio@kernel.org> | 2011-01-06 00:34:47 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-01-06 00:34:47 +0000 |
commit | e0552e436a51e37f2de4749736dddb80a5788e08 (patch) | |
tree | 5b3a2f9023651c0d771d67ffa1db525a052cb0ec /gitattributes.txt | |
parent | 7165bf798c79fef70904e15d0d487e713bd25ac1 (diff) | |
download | git-htmldocs-e0552e436a51e37f2de4749736dddb80a5788e08.tar.gz |
Autogenerated HTML docs for v1.7.4-rc1
Diffstat (limited to 'gitattributes.txt')
-rw-r--r-- | gitattributes.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gitattributes.txt b/gitattributes.txt index 5a7f93642..22b85825a 100644 --- a/gitattributes.txt +++ b/gitattributes.txt @@ -335,6 +335,16 @@ input that is already correctly indented. In this case, the lack of a smudge filter means that the clean filter _must_ accept its own output without modifying it. +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: + +------------------------ +[filter "p4"] + clean = git-p4-filter --clean %f + smudge = git-p4-filter --smudge %f +------------------------ + Interaction between checkin/checkout attributes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |