From: Ryan Anderson Date: Sun, 26 Mar 2006 07:35:02 GMT Subject: Re: Following renames Message-ID: <44264426.8010608@michonline.com> In-Reply-To: Linus Torvalds wrote: > On Sun, 26 Mar 2006, Petr Baudis wrote: > >> In [1], Linus suggests a non-core solution. Unfortunately, it doesn't >> fly - it requires at least two git-ls-tree calls per revision which >> would bog things down awfully (to roughly half of the original speed). >> > > No it doesn't. It requires one git-ls-tree WHEN SOMETHING IS RENAMED. > > In other words, basically never. > A simple example is the first loop in git-annotate.perl. (Which was basically written by Linus, I just translated it from a shell/pseudo-code example into Perl) -- Ryan Anderson sometimes Pug Majere