X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-remote-testgit.py;h=3dc4851cfc70a2804b23a8eca4dac7702ae93c87;hb=afb6b561e3dad13df5d9df9731751a3d310c0854;hp=e9c832bfd3da7db771cc2113027d3e590dc51d59;hpb=6133e4da549efbda98565163705af0781b096a4c;p=git.git diff --git a/git-remote-testgit.py b/git-remote-testgit.py index e9c832bfd..3dc4851cf 100644 --- a/git-remote-testgit.py +++ b/git-remote-testgit.py @@ -1,5 +1,18 @@ #!/usr/bin/env python +# This command is a simple remote-helper, that is used both as a +# testcase for the remote-helper functionality, and as an example to +# show remote-helper authors one possible implementation. +# +# This is a Git <-> Git importer/exporter, that simply uses git +# fast-import and git fast-export to consume and produce fast-import +# streams. +# +# To understand better the way things work, one can activate debug +# traces by setting (to any value) the environment variables +# GIT_TRANSPORT_HELPER_DEBUG and GIT_DEBUG_TESTGIT, to see messages +# from the transport-helper side, or from this example remote-helper. + # hashlib is only available in python >= 2.5 try: import hashlib