Code

Teach "fsck" not to follow subproject links
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Apr 2007 04:15:29 +0000 (21:15 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 10 Apr 2007 20:46:58 +0000 (13:46 -0700)
commit8d9721c86b0169c282ad1c5528317eafeb7fb0f7
treecbf3c5aa5deaa1f8fb07961c8bcebf90d41382fe
parent9eec4795d44439cd170fb52c73827c728252648d
Teach "fsck" not to follow subproject links

Since the subprojects don't necessarily even exist in the current tree,
much less in the current git repository (they are totally independent
repositories), we do not want to try to follow the chain from one git
repository to another through a gitlink.

This involves teaching fsck to ignore references to gitlink objects from
a tree and from the current index.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-fsck.c
tree.c