summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3d457f)
raw | patch | inline | side by side (parent: e3d457f)
author | Petr Baudis <pasky@suse.cz> | |
Sat, 18 Nov 2006 23:30:15 +0000 (00:30 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 19 Nov 2006 00:29:46 +0000 (16:29 -0800) |
For one, the documentation invalidly claimed that the paths have to be
absolute when that's not the case and in fact there is a very valid reason
not to use absolute paths (documented the reason as well).
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
absolute when that's not the case and in fact there is a very valid reason
not to use absolute paths (documented the reason as well).
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/repository-layout.txt | patch | blob | history |
index 6d8c58ed205cb051cf2a1f8f495d37405cabd398..e20fb7e74c22390e810a392f2625a3ba6b325477 100644 (file)
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