Re: [PATCH 5/6] Teach "fsck" not to follow subproject links
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 12, 2007, 02:06 UTC
- Message-ID
- <7vmz1el51o.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vy7kyl5br.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 14 quoted lines
> Linus Torvalds <torvalds@linux-foundation.org> 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.