The git-daemon upload-archive feature has always used the config directive 'daemon.uploadarch'; the documentation which came later seems to have just mistakenly used the wrong name.
Noticed by lionel@over-blog.com.
Signed-off-by: Jeff King <peff@peff.net> --- Personally, I think uploadarchive is much more readable, but it is too late to tweak at this point.
Documentation/git-daemon.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/git-daemon.txt +2 −2
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt index fd83bc7..cf261dd 100644 --- a/Documentation/git-daemon.txt +++ b/Documentation/git-daemon.txt @@ -174,7 +174,7 @@ upload-pack:: upload-archive:: This serves `git-archive --remote`. It is disabled by default, but a repository can enable it by setting - `daemon.uploadarchive` configuration item to `true`. + `daemon.uploadarch` configuration item to `true`. receive-pack:: This serves `git-send-pack` clients, allowing anonymous @@ -257,7 +257,7 @@ selectively enable/disable services per repository:: ---------------------------------------------------------------- [daemon] uploadpack = false - uploadarchive = true + uploadarch = true ----------------------------------------------------------------
-- 1.5.5.1.447.g3a459