diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-10-22 03:04:32 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-22 03:04:32 +0400 |
commit | e75a59adfcc4fd048690e5b25f9a8c31d8011d53 (patch) | |
tree | 81d726bd68ab7d9dc149c82955fc0cc363fa9486 /Documentation | |
parent | 1ad4b17b069a7b692ab801bda37c5ab35ef0208e (diff) | |
parent | d5570f4d2cb29f3db9f69ff5fcde0a7d54ad2696 (diff) |
Merge branch 'jk/daemon-msgs'
* jk/daemon-msgs:
daemon: give friendlier error messages to clients
Conflicts:
daemon.c
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-daemon.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt index 69a1e4af9e..31b28fc29f 100644 --- a/Documentation/git-daemon.txt +++ b/Documentation/git-daemon.txt @@ -161,6 +161,16 @@ the facility of inet daemon to achieve the same before spawning repository configuration. By default, all the services are overridable. +--informative-errors:: +--no-informative-errors:: + When informative errors are turned on, git-daemon will report + more verbose errors to the client, differentiating conditions + like "no such repository" from "repository not exported". This + is more convenient for clients, but may leak information about + the existence of unexported repositories. When informative + errors are not enabled, all errors report "access denied" to the + client. The default is --no-informative-errors. + <directory>:: A directory to add to the whitelist of allowed directories. Unless --strict-paths is specified this will also include subdirectories |