Re: [libgit2] git_commit
- Vicent Marti
- 2011-03-08 @ 15:37
yes, you are right. Right now we load the tree and the parents, which
is disgustingly inefficient. I'm in the process of fixing this as part
of the revision walker revamp.
On Mon, Mar 7, 2011 at 11:47 PM, Sakari Jokinen <firstname.lastname@example.org> wrote:
> Would I be horribly wrong to think that reading a git_commit will
> result in all ancestors of that commit to be read in one go?
> If so: I would guess, i.e., without actually profiling, that it would
> be a bit wasteful? Is there any plans on this front?
> Couldn't git_commit use just oids for pointing to its parents?