On 4/11/07, Sam Vilain <sam@vilain.net> wrote:This seems slightly related to the hazy picture I'm forming of how I'd like to use git at our site. Essentially, everyone would have their own working tree with .git directory, but .git/objects is a symlink to a shared object repository. How do you fully run git-fsck on this shared object repository? The actual heads (roots) are distributed amongst many .git/refs directories (I suppose you could do something akin to git-fsck $(cat /somepaths*/.git/refs/*), but that means you know where all the repositories are). So in this setup, maybe I'd want to run fsck twice: the first time checking everything but not complaining about dangling commit objects [but listing them?], and maybe a 2nd finding all these in the users' repos [still need to know where these are]. Please note this is just a thought experiment at this point. Anyway, git started out with a 1:1 relationship between working tree, index, and object repository. Various things could weaken that -- alternates, subprojects with different relationships to their object repositories, etc. -- so special commands like git fsck which focus mostly on the object repository may need a little tweaking eventually. -- Dana L. How danahow@gmail.com +1 650 804 5991 cell - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Artem Bityutskiy | [RFC PATCH 06/26] UBIFS: add superblock and master node |
| Joe Perches | [PATCH 001/148] include/asm-x86/acpi.h: checkpatch cleanups - formatting only |
| Linus Torvalds | Re: LSM conversion to static interface |
git: | |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Christoph Lameter | Network latency regressions from 2.6.22 to 2.6.29 |
