Re: Trac+Git: rev-list with pathspec performance?
- From
- Stephen Bash <bash@genarts.com>
- Date
- Oct 6, 2010, 15:26 UTC
- Message-ID
- <17750617.441668.1286378804923.JavaMail.root@mail.hq.genarts.com>
- In-Reply-To
- <m3r5g5fnth.fsf@localhost.localdomain>
Show 6 quoted lines
> Note that there is proof of concept > "tree blame" (in Perl) which generates such 'last change to file' > information, I think faster than running 'git rev-list -1 <file>' for > each file. Even better would be to encode used algorithm in C. > > http://thread.gmane.org/gmane.comp.version-control.git/150063/focus=150183
My early experiments with your script are good for speed, but for some reason I'm always getting the first commit for a file rather than the most recent. I'll do some experimenting to see if I can uncover the issue.
(I had seen the script earlier, but I didn't realize the fix for diff-tree had made it into a release already)
Thanks, Stephen