Shawn O. Pearce wrote:[snip] This did cause the thought that git-init --shared and git-clone --shared may be pairs to be used together in some special way. ok. Rather selfish "sharing" in my opinion :) --reference did not cause any confusion and implied to me exactly what it does: Use supplied repository as a reference for objects which cannot be resolved locally. How should this be accomplished? Does this mean never run git-gc/git-repack on the source repository? Or is there a way to cause the sharing repositories to copy over objects no longer required by the source repository? [snip] How about with --shared? Particularly with a fast-forward not much would need to be copied over. Do later pulls into a repository with configured objects/info/alternates take advantage of space savings when possible? If the answer above is "yes", then this brings up an interesting use case. I assume that clone, fetch, etc follow the alternates of the source repository? Otherwise a --shared repository would be unclone-able right? And only pull-able from the source repository? So if that is the case (that remote alternates are followed), then a group of developers could add all of the other developers to their alternates list (if multiple alternates are supported) and reference their objects when possible. To the extent that it is possible, each developer would end up only storing their commit objects. This would then create a distributed repository. Of course, this new distributed repository may be somewhat fragile since the entire thing could become unusable if any portion was corrupted. Just because you can do a thing, doesn't mean you should. thanks for your excellent reply, -brandon - 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
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
| Ingo Molnar | Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3 |
git: | |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
