Linus Torvalds <torvalds@linux-foundation.org> writes:The small detail in the last step is wrong, though. Even if they EXIST, they may be isolated commits that are note connected to refs, and fsck in the repository would not have warned about unreachable trees from such unconnected commits. So you would need to do a reachability from these commits to the refs in the subproject. This would be similar to the quick-fetch topic I sent out a couple of patches for, that implements logic to skip fetching objects from your alternate. You would have rev-list --objects traverse from them with "--not --all" in the subproject repository and make sure it does not trigger "I could not list all objects reachable from the commits you wanted because such and such tree/blob are missing". That reminds me of one thing I haven't verified. I am not absolutely sure that rev-list --objects makes sure that blobs it lists exist (trees are checked as it needs to read them, and if they are missing or corrupt it would notice and barf). When it is used for the purpose of this "subproject boundary fsck" and the quick-fetch, it should. Perhaps a specialized option to check deeper than usual is needed. I dunno. This is still true. - 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
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| David Brown | Re: Linux 2.6.21-rc2 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| William Lee Irwin III | Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Alexey Dobriyan | Re: [GIT]: Networking |
git: | |
