• J
    Alternate object pool mechanism updates. · d5a63b99
    Junio C Hamano 提交于
    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: NJunio C Hamano <junkio@cox.net>
    d5a63b99
sha1_file.c 33.3 KB