Re: Get all tips quickly

2014-04-14 Thread Kirill Likhodedov
Hi Michael, Ævar, Thank you very much for your answers. Each of 'git show-ref’ and ‘git for-each-ref’ is 2 times faster than ‘git log --branches --tags --remotes’ on “warmed up FS caches, but take the same time on “cold” FS. It seems that all these approaches internally walk down from all

Get all tips quickly

2014-04-13 Thread Kirill Likhodedov
Hi, What is fastest possible way to get all “tips” (leafs of the Git log graph) in a Git repository with hashes of commits they point to? We at JetBrains are tuning performance of Git log integration in our IntelliJ IDEA and want to get all tips as fast as possible. Currently we use 'git log

Re: Get all tips quickly

2014-04-13 Thread Ævar Arnfjörð Bjarmason
On Sun, Apr 13, 2014 at 4:19 PM, Kirill Likhodedov kirill.likhode...@jetbrains.com wrote: Hi, What is fastest possible way to get all “tips” (leafs of the Git log graph) in a Git repository with hashes of commits they point to? Tried git for-each-ref and the various options it has? Doing

Re: Get all tips quickly

2014-04-13 Thread Michael Haggerty
On 04/13/2014 04:19 PM, Kirill Likhodedov wrote: What is fastest possible way to get all “tips” (leafs of the Git log graph) in a Git repository with hashes of commits they point to? We at JetBrains are tuning performance of Git log integration in our IntelliJ IDEA and want to get all tips