diff options
author | Tony Finch <dot@dotat.at> | 2010-03-31 03:30:52 +0100 |
---|---|---|
committer | Ian Jackson <ian@liberator.relativity.greenend.org.uk> | 2010-05-22 15:54:42 +0100 |
commit | f1ebe10b60640bdbdd34927d5d74624c2a494f95 (patch) | |
tree | cfe7df012a758ec89123099783bdedb1122780d3 /git-daemon | |
parent | e9fec26ad6b6fdbdf77a2422f7b0bdf2eeb5e07b (diff) | |
download | userv-utils-f1ebe10b60640bdbdd34927d5d74624c2a494f95.tar.gz |
git-urlmap: clarify comments
Diffstat (limited to 'git-daemon')
-rw-r--r-- | git-daemon/git-urlmap | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/git-daemon/git-urlmap b/git-daemon/git-urlmap index cf8b557..a72b48c 100644 --- a/git-daemon/git-urlmap +++ b/git-daemon/git-urlmap @@ -4,8 +4,10 @@ # You may do anything with it, at your own risk. # http://creativecommons.org/publicdomain/zero/1.0/ # -# This is a perl script which is expected to set a few variables -# to locate the requested repository. +# This is a perl script which is expected to turn the information +# found in the request variables into the location of the +# corresponding repository, which it stores in the output variables. +# Some information about the network connection is also available. # # REQUEST VARIABLES # $service - normally "git-upload-pack" @@ -15,14 +17,6 @@ # $uri = git://$host/$path # $_ = $uri # -# CONNECTION VARIABLES -# $client_addr -# $client_port -# $client = [$client_addr]:$client_port -# $server_addr -# $server_port -# $server = [$server_addr]:$server_port -# # OUTPUT VARIABLES # $user - who runs the service # $dir - may be: @@ -36,6 +30,14 @@ # $check_repo - whether to restrict the syntax of $repo # (default true) # @opts - options for the service command +# +# CONNECTION VARIABLES +# $client_addr +# $client_port +# $client = [$client_addr]:$client_port +# $server_addr +# $server_port +# $server = [$server_addr]:$server_port if ($path =~ m{^~([^/]*)/(.*)}) { $user = $1; |