From 93ba9d330d231bf44b98bcdf0d318062c7ff207e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 20 Nov 2006 03:17:43 +0000 Subject: [PATCH] Autogenerated HTML docs for v1.4.4-gef06 --- repository-layout.html | 24 ++++++++++++++++++++---- repository-layout.txt | 17 ++++++++++++++--- 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/repository-layout.html b/repository-layout.html index b3bff63be..6dda03f7d 100644 --- a/repository-layout.html +++ b/repository-layout.html @@ -352,9 +352,25 @@ objects/info/alternates

- This file records absolute filesystem paths of alternate - object stores that this object store borrows objects - from, one pathname per line. + This file records paths to alternate object stores that + this object store borrows objects from, one pathname per + line. Note that not only native Git tools use it locally, + but the HTTP fetcher also tries to use it remotely; this + will usually work if you have relative paths (relative + to the object database, not to the repository!) in your + alternates file, but it will not work if you use absolute + paths unless the absolute path in filesystem and web URL + is the same. See also objects/info/http-alternates. +

+
+
+objects/info/http-alternates +
+
+

+ This file records URLs to alternate object stores that + this object store borrows objects from, to be used when + the repository is fetched over HTTP.

@@ -527,7 +543,7 @@ logs/refs/tags/name diff --git a/repository-layout.txt b/repository-layout.txt index 6d8c58ed2..e20fb7e74 100644 --- a/repository-layout.txt +++ b/repository-layout.txt @@ -52,9 +52,20 @@ objects/info/packs:: by default. objects/info/alternates:: - This file records absolute filesystem paths of alternate - object stores that this object store borrows objects - from, one pathname per line. + This file records paths to alternate object stores that + this object store borrows objects from, one pathname per + line. Note that not only native Git tools use it locally, + but the HTTP fetcher also tries to use it remotely; this + will usually work if you have relative paths (relative + to the object database, not to the repository!) in your + alternates file, but it will not work if you use absolute + paths unless the absolute path in filesystem and web URL + is the same. See also 'objects/info/http-alternates'. + +objects/info/http-alternates:: + This file records URLs to alternate object stores that + this object store borrows objects from, to be used when + the repository is fetched over HTTP. refs:: References are stored in subdirectories of this -- 2.26.2