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.
You cannot prune the subprojects on their own. That's the *only* real
special rule about subprojects. Exactly because pruning them on their own
is not a valid op to do.
It's the same way with an source of "alternate" objects (or a shared
object directory) - you'd better not prune them, because other projects
may have refs to them that you don't know about locally. So this isn't
somethign new to subprojects.
Linus