Re: [PATCH 5/6] Teach "fsck" not to follow subproject links
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 12, 2007, 02:30 UTC
- Message-ID
- <7vbqhul3yk.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0704111903060.4061@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 9 quoted lines
> But for git projects, even alternates isn't safe, in case somebody bases > their own work on a version of "pu" that eventually goes away (even with > reflogs, pruning *eventually* takes place). > > So I tend to think that alternates and shared object directories are > really for "temporary" stuff, or for *managed* repositories that are at > git *hosting* sites (eg repo.or.cz), and where there is some other safety > involved, ie users don't actually access the object directories directly > in any way.
Actually that is not even true for repo.or.cz -- the site lets people to create *forks* of the main project, and I recall it is implemented in terms of alternates.
That's one of the reasons I never asked to take over git.git repository there. I have alt-git.git instead, which does not allow forks.