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

[PATCH 2/5] http-backend: reword some documentation

From
Mark Lodato <lodatom@gmail.com>
Date
Oct 25, 2009, 18:05 UTC
Message-ID
<1256493935-8680-3-git-send-email-lodatom@gmail.com>
In-Reply-To
<1256493935-8680-2-git-send-email-lodatom@gmail.com>
Clarify some of the git-http-backend documentation, particularly:
* In the Description, state that smart/dumb HTTP fetch and smart HTTP
  push are supported, state that authenticated clients allow push, and
  remove the note that this is only suited for read-only updates.
* At the start of Examples, state explicitly what URL is mapping to what
  location on disk.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
---
 Documentation/git-http-backend.txt |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-http-backend.txt b/Documentation/git-http-backend.txt
index 99dbbfb..0b5e951 100644
--- a/Documentation/git-http-backend.txt
+++ b/Documentation/git-http-backend.txt
@@ -14,13 +14,15 @@ DESCRIPTION
 -----------
 A simple CGI program to serve the contents of a Git repository to Git
 clients accessing the repository over http:// and https:// protocols.
+The program supports clients fetching using both the smart HTTP protcol
+and the backwards-compatible dumb HTTP protocol, as well as clients
+pushing using the smart HTTP protocol.
 
 By default, only the `upload-pack` service is enabled, which serves
 'git-fetch-pack' and 'git-ls-remote' clients, which are invoked from
-'git-fetch', 'git-pull', and 'git-clone'.
-
-This is ideally suited for read-only updates, i.e., pulling from
-git repositories.
+'git-fetch', 'git-pull', and 'git-clone'.  If the client is authenticated,
+the `receive-pack` service is enabled, which serves 'git-send-pack'
+clients, which is invoked from 'git-push'.
 
 SERVICES
 --------
@@ -50,6 +52,8 @@ automatically by the web server.
 
 EXAMPLES
 --------
+All of the following examples map 'http://$hostname/git/foo/bar.git'
+to '/var/www/git/foo/bar.git'.
 
 Apache 2.x::
 	Ensure mod_cgi, mod_alias, and mod_env are enabled, set
-- 
1.6.5.1
Previous: Mark LodatoNext: Mark Lodato
Message 3 of 8 in “Updates for git-http-backend”
  1. 0/5 Updates for git-http-backendMark Lodato, Oct 25, 2009
  2. 1/5 http-backend: add GIT_PROJECT_ROOT environment varMark Lodato, Oct 25, 2009
  3. 2/5 http-backend: reword some documentationMark Lodato, Oct 25, 2009
  4. 3/5 http-backend: use mod_alias instead of mod_rewriteMark Lodato, Oct 25, 2009
  5. 4/5 http-backend: add example for gitweb on same URLMark Lodato, Oct 25, 2009
  6. 5/5 http-backend: more explict LocationMatchMark Lodato, Oct 25, 2009
  7. Shawn O. PearceOct 27, 2009
  8. Junio C HamanoOct 28, 2009

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.