Re: Fast access git-rev-list output: some OS knowledge required
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Dec 6, 2006, 19:34 UTC
- Message-ID
- <e5bfff550612061134r3725dcbu2ff2dd6284fcd651@mail.gmail.com>
- In-Reply-To
- <20061206192800.GC20320@spearce.org>
On 12/6/06, Shawn Pearce <spearce@spearce.org> wrote:
Show 11 quoted lines
> Marco Costalba <mcostalba@gmail.com> wrote: > > The time it takes to read, without processing, the whole Linux tree > > with this approach it's almost _double_ of the time it takes 'git > > rev-list' to write to a file: > > > > 3) Other suggestions? ;-) > > The revision listing machinery is fairly well isolated behind some > pretty clean APIs in Git. Why not link qgit against libgit.a and > just do the revision listing in process? >
Where can I found some documentation (yes I know RTFS, but...) or, better, an example of using the API to read git-rev-list output?
if it is possible I also would like to avoid to mess with internal git API's, of course *if it is possible* ;-)
Thanks