From: Linus Torvalds Date: Tue, 14 Feb 2006 19:04:13 GMT Subject: Re: several quick questions Message-ID: In-Reply-To: <1139943349.4341.66.camel@evo.keithp.com> On Tue, 14 Feb 2006, Keith Packard wrote: > > I was using: > > rm -r * > rm -f .cvsignore .gitignore > git-reset --hard Ooh. Try doing that on a big project, and it will just kill you. You've also lost the "top-of-branch" info, but if you're just tracking some other tree, that's likely not an issue. (actually, under Linux, with enough memory, and the git stuff all cached, it will perform pretty well, but that's just because the OS does a _lot_ to try to hide how expensive it is to re-write everything. And even under Linux it will suck in the cold-cache case). > Creating a fake branch seemed like a lot more bother. You'll find that if cairo ever grows bigger, it has huge advantages to switch between branches (or any random state, for that matter) without having to rewrite it all is a _major_ performance impact. Linus