diff options
author | Russell Belfer <rb@github.com> | 2013-07-07 21:56:11 -0700 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-07-10 20:50:32 +0200 |
commit | 9abc78ae6157167682f061b4f73eea51ab7d7342 (patch) | |
tree | e037ab6838882697af78b930dcbf1da828943d3e /tests/diff/diffiter.c | |
parent | bc6f0839ebd5794c99d5b488d431188a162a064d (diff) | |
download | libgit2-9abc78ae6157167682f061b4f73eea51ab7d7342.tar.gz |
Convert commit->parent_ids to git_array_t
This converts the array of parent SHAs from a git_vector where
each SHA has to be separately allocated to a git_array_t where
all the SHAs can be kept in one block. Since the two collections
have almost identical APIs, there isn't much involved in making
the change. I did add an API to git_array_t so that it could be
allocated at a precise initial size.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions