aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2016-10-16 16:20:38 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-17 11:45:52 -0700
commit0f71fa273fc6c352a266894f1f757c5950230d9b (patch)
treea0612596f2b45b31ee5536eb451f6b81c9b6ac41 /Documentation
parentedcc85814c87ebd7f3b1b7d3979fac3dfb84d308 (diff)
downloadgit-0f71fa273fc6c352a266894f1f757c5950230d9b.tar.gz
git-0f71fa273fc6c352a266894f1f757c5950230d9b.tar.xz
contrib/long-running-filter: add long running filter example
Add a simple pass-thru filter as example implementation for the Git filter protocol version 2. See Documentation/gitattributes.txt, section "Filter Protocol" for more info. 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.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index 3f4d1edb1..976243a63 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -516,7 +516,9 @@ the command pipe on exit. The filter is expected to detect EOF
and exit gracefully on its own. Git will wait until the filter
process has stopped.
-If you develop your own long running filter
+A long running filter demo implementation can be found in
+`contrib/long-running-filter/example.pl` located in the Git
+core repository. If you develop your own long running filter
process then the `GIT_TRACE_PACKET` environment variables can be
very helpful for debugging (see linkgit:git[1]).