All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Clarify how repository service parameters are used
@ 2007-08-29  9:14 Jari Aalto
  2007-08-29  9:34 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Jari Aalto @ 2007-08-29  9:14 UTC (permalink / raw)
  To: git

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-29  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29  9:14 [PATCH] Clarify how repository service parameters are used Jari Aalto
2007-08-29  9:34 ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.