mirror of
https://github.com/git/git.git
synced 2024-11-28 12:34:08 +08:00
8a498a05c3
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. Another new flag, --full, makes git-fsck-cache to check not only the current GIT_OBJECT_DIRECTORY but also objects found in alternate object pools and packed GIT archives.a Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
cvs-migration.txt | ||
diff-format.txt | ||
diffcore.txt | ||
git-apply-patch-script.txt | ||
git-apply.txt | ||
git-cat-file.txt | ||
git-check-files.txt | ||
git-checkout-cache.txt | ||
git-commit-tree.txt | ||
git-convert-cache.txt | ||
git-diff-cache.txt | ||
git-diff-files.txt | ||
git-diff-helper.txt | ||
git-diff-stages.txt | ||
git-diff-tree.txt | ||
git-export.txt | ||
git-fsck-cache.txt | ||
git-http-pull.txt | ||
git-init-db.txt | ||
git-local-pull.txt | ||
git-ls-files.txt | ||
git-ls-tree.txt | ||
git-merge-base.txt | ||
git-merge-cache.txt | ||
git-merge-one-file-script.txt | ||
git-mktag.txt | ||
git-prune-script.txt | ||
git-pull-script.txt | ||
git-read-tree.txt | ||
git-resolve-script.txt | ||
git-rev-list.txt | ||
git-rev-tree.txt | ||
git-ssh-pull.txt | ||
git-ssh-push.txt | ||
git-tag-script.txt | ||
git-tar-tree.txt | ||
git-unpack-file.txt | ||
git-update-cache.txt | ||
git-write-blob.txt | ||
git-write-tree.txt | ||
git.txt | ||
Makefile | ||
tutorial.txt |