Thread (18 messages) flat view 18 messages, 4 authors, 2016-06-15

Re: git-rev-list: add "--dense" flag

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


On Fri, 21 Oct 2005, Linus Torvalds wrote:
	[torvalds@g5 linux]$ git-rev-list --dense HEAD -- kernel | wc -l
	356
Btw, one additional point.

This took 0.91 seconds to complete on the current kernel history on my 
machine with a pretty much fully packed archive, and the memory footprint 
was a total of about 12MB.

And it scales pretty well too. On the historical linux archive, which is 
three years of history, the same thing takes me just over 12 seconds and 
52MB, and that's for the _whole_ history. And it's not just following one 
file: it's following that subdirectory.

So it really is pretty damn cool. 

Of course, I might have a bug somewhere, but it all _seems_ to work very 
well indeed.

			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