Hi, On Wed, 6 Dec 2006, Shawn Pearce wrote: > Marco Costalba <mcostalba@xxxxxxxxx> 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? Because, depending on what you do, the revision machinery is not reentrable. For example, if you filter by filename, the history is rewritten in-memory to simulate a history where just that filename was tracked, and nothing else. These changes are not cleaned up after calling the internal revision machinery. Hth, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html