summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-07-07 21:56:11 -0700
committerVicent Marti <tanoku@gmail.com>2013-07-10 20:50:32 +0200
commit9abc78ae6157167682f061b4f73eea51ab7d7342 (patch)
treee037ab6838882697af78b930dcbf1da828943d3e /tests/diff/diffiter.c
parentbc6f0839ebd5794c99d5b488d431188a162a064d (diff)
downloadlibgit2-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