git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Clarify how repository service parameters are used

From
Jari Aalto <jari.aalto@cante.net>
Date
Aug 29, 2007, 09:14 UTC
Message-ID
<absa3doz.fsf@cante.net>

At upload-archive service, mention repository option daemon.uploadarchive. Add a paragrah and example to show how the service parameters are added to the repository's config file.

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 Documentation/git-daemon.txt |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index f902161..0aeff70 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -164,7 +164,21 @@ upload-pack::
 	item to `false`.
 
 upload-archive::
-	This serves `git-archive --remote`.
+	This serves `git-archive --remote`. This is the
+        repository setting `daemon.uploadarchive`.
+
+Instead of globally using `--enable=service`, it might be more
+advisable to configure these items by repository basis. The
+configuration file is ./config, supposing that the repository
+was created with `git --bare init [--share]`. The services would
+be listed as:
+
+------------------------------------------------
+...
+[daemon]
+        uploadpack    = true
+        uploadarchive = true
+------------------------------------------------
 
 EXAMPLES
 --------
-- 
1.5.3.rc5

    Available also from git repository http://cante.net/~jaalto/git/git
    Branch: Documentation/git-daemon.txt+clarify-how-repo-DAEMON-parms-are-used
Next: Junio C Hamano
Message 1 of 2 in “Clarify how repository service parameters are used”
  1. Clarify how repository service parameters are usedJari Aalto, Aug 29, 2007
  2. Junio C HamanoAug 29, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.