Re: Following renames
- From
- Ryan Anderson <ryan@michonline.com>
- Date
- Mar 26, 2006, 07:35 UTC
- Message-ID
- <44264426.8010608@michonline.com>
- In-Reply-To
- <Pine.LNX.4.64.0603251919170.15714@g5.osdl.org>
Linus Torvalds wrote:
Show 11 quoted lines
> 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