diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-04 22:27:29 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-05 16:51:01 -0800 |
commit | 603968d22b19d1b98ff355cc32575a4d9845c151 (patch) | |
tree | f1901a61dd0af200460f8c4ecfb7db9cfcecc868 /Documentation/git-commit.txt | |
parent | daemon: Set SO_REUSEADDR on listening sockets. (diff) | |
download | tgif-603968d22b19d1b98ff355cc32575a4d9845c151.tar.xz |
daemon: extend user-relative path notation.
Earlier, we made --base-path to automatically forbid
user-relative paths, which was probably a mistake. This
introduces --user-path (or --user-path=path) option to control
the use of user-relative paths independently. The latter form
of the option can be used to restrict accesses to a part of each
user's home directory, similar to "public_html" some webservers
supports.
If we're invoked with --user-path=FOO option, then a URL of the
form git://~USER/PATH/... resolves to the path HOME/FOO/PATH/...,
where HOME is USER's home directory.
[jc: This is much reworked by me so bugs are mine, but the
original patch was done by Mark Wooding.]
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-commit.txt')
0 files changed, 0 insertions, 0 deletions