Thread (31 messages) 31 messages, 10 authors, 2016-06-15

Re: several quick questions

flat view

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:19


On Tue, 14 Feb 2006, Keith Packard wrote:
I was using:

	 rm -r *
	 rm -f .cvsignore .gitignore
	 git-reset --hard <tag>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help