diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2016-12-03 20:45:16 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-06 11:29:52 -0800 |
commit | c6b0831c9c1718b552872953b4949cef7d4726fe (patch) | |
tree | 406e9bbe13887835111251d4a331a6e47d2cd46c /Documentation | |
parent | t0021: remove debugging cruft (diff) | |
download | tgif-c6b0831c9c1718b552872953b4949cef7d4726fe.tar.xz |
docs: warn about possible '=' in clean/smudge filter process values
A pathname value in a clean/smudge filter process "key=value" pair can
contain the '=' character (introduced in edcc858). Make the user aware
of this issue in the docs, add a corresponding test case, and fix the
issue in filter process value parser of the example implementation in
contrib.
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/gitattributes.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt index 976243a63e..e0b66c1220 100644 --- a/Documentation/gitattributes.txt +++ b/Documentation/gitattributes.txt @@ -435,7 +435,9 @@ to filter relative to the repository root. Right after the flush packet Git sends the content split in zero or more pkt-line packets and a flush packet to terminate content. Please note, that the filter must not send any response before it received the content and the -final flush packet. +final flush packet. Also note that the "value" of a "key=value" pair +can contain the "=" character whereas the key would never contain +that character. ------------------------ packet: git> command=smudge packet: git> pathname=path/testfile.dat |