diff options
author | Junio C Hamano <junkio@cox.net> | 2005-06-28 01:49:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-28 14:51:52 -0700 |
commit | 23676d407c63a6f67f8ce3ff192199bda03e6a03 (patch) | |
tree | 2621b03a679fe1cde31a22209e01019c1271b415 /t | |
parent | Change pack file format. Hopefully for the last time. (diff) | |
download | tgif-23676d407c63a6f67f8ce3ff192199bda03e6a03.tar.xz |
[PATCH] Adjust fsck-cache to packed GIT and alternate object pool.
The fsck-cache complains if objects referred to by files in .git/refs/
or objects stored in files under .git/objects/??/ are not found as
stand-alone SHA1 files (i.e. found in alternate object pools
GIT_ALTERNATE_OBJECT_DIRECTORIES or packed archives stored under
.git/objects/pack).
Although this is a good semantics to maintain consistency of a single
.git/objects directory as a self contained set of objects, it sometimes
is useful to consider it is OK as long as these "outside" objects are
available.
This commit introduces a new flag, --standalone, to git-fsck-cache.
When it is not specified, connectivity checks and .git/refs pointer
checks are taught that it is OK when expected objects do not exist under
.git/objects/?? hierarchy but are available from an packed archive or in
an alternate object pool.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions