author | Junio C Hamano <junkio@cox.net> | |
Mon, 15 Aug 2005 00:25:57 +0000 (17:25 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 15 Aug 2005 10:00:20 +0000 (03:00 -0700) | ||
commit | d5a63b99835017d2638e55a7e34a35a3c1e80f1f | |
tree | 9ba91a81866aa205908ff9d8f1292295d10dd0fc | tree | snapshot |
parent | 3f971fc425bca3d9e97b04e9db39e4d5e43921bc | commit | diff |
Alternate object pool mechanism updates.
It was a mistake to use GIT_ALTERNATE_OBJECT_DIRECTORIES
environment variable to specify what alternate object pools to
look for missing objects when working with an object database.
It is not a property of the process running the git commands,
but a property of the object database that is partial and needs
other object pools to complete the set of objects it lacks.
This patch allows you to have $GIT_OBJECT_DIRECTORY/info/alternates
whose contents is in exactly the same format as the environment
variable, to let an object database name alternate object pools
it depends on.
Signed-off-by: Junio C Hamano <junkio@cox.net>
It was a mistake to use GIT_ALTERNATE_OBJECT_DIRECTORIES
environment variable to specify what alternate object pools to
look for missing objects when working with an object database.
It is not a property of the process running the git commands,
but a property of the object database that is partial and needs
other object pools to complete the set of objects it lacks.
This patch allows you to have $GIT_OBJECT_DIRECTORY/info/alternates
whose contents is in exactly the same format as the environment
variable, to let an object database name alternate object pools
it depends on.
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h | diff | blob | history | |
fsck-cache.c | diff | blob | history | |
sha1_file.c | diff | blob | history |