From: Junio C Hamano Date: Thu, 12 Apr 2007 02:06:43 GMT Subject: Re: [PATCH 5/6] Teach "fsck" not to follow subproject links Message-ID: <7vmz1el51o.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7vy7kyl5br.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: > Linus Torvalds writes: > >> On Wed, 11 Apr 2007, Junio C Hamano wrote: >>> >>> 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. >> >> The superproject *is* a ref. > > But when you fsck the subproject repository in isolation in the > earlier step in your procedure, that is not taken into account, > is it? Ah, forget about this. The HEAD, which is in the tree of the higher-level project, is a ref. Silly me.