Introduce SHA1_FILE_DIRECTORIES to support multiple object databases.
commitace1534d6f3a710ed82e7e27ba1fe77c0c278695
authorJunio C Hamano <junkio@cox.net>
Sat, 7 May 2005 07:38:04 +0000 (7 00:38 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 7 May 2005 07:38:04 +0000 (7 00:38 -0700)
treea8b92a9405d6e76f4be1fe36a3bc09033f86d7f1
parente7d3dd248f50501f98b29c917e70bddcf3ea925a
Introduce SHA1_FILE_DIRECTORIES to support multiple object databases.

SHA1_FILE_DIRECTORIES environment variable is a colon separated paths
used when looking for SHA1 files not found in the usual place for
reading.  Creating a new SHA1 file does not use this alternate object
database location mechanism.  This is useful to archive older, rarely
used objects into separate directories.

Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
fsck-cache.c
sha1_file.c